micromissiles-unity/Assets/Scripts/Utilities.cs

9 lines
371 B
C#

using UnityEngine;
public static class Utilities {
public static Vector3 GenerateRandomNoise(Vector3 standardDeviation) {
return new Vector3(Random.Range(-standardDeviation.x, standardDeviation.x),
Random.Range(-standardDeviation.y, standardDeviation.y),
Random.Range(-standardDeviation.z, standardDeviation.z));
}
}