micromissiles-unity/Assets/Scripts/Utilities.cs

9 lines
371 B
C#
Raw Normal View History

2024-09-12 00:17:21 -07:00
using UnityEngine;
2024-09-13 22:45:25 -07:00
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));
}
2024-09-12 00:17:21 -07:00
}