|
| static void | DrawCircleGizmo (Vector2 center, float radius) |
| |
| static void | DrawCircleGizmo (Vector2 center, float radius, Color color) |
| |
| static void | DrawOvalGizmo (Vector2 center, Vector2 size) |
| |
| static void | DrawOvalGizmo (Vector2 center, Vector2 size, Color color) |
| |
| static void | DrawRectGizmo (Rect rect) |
| |
| static void | DrawRectGizmo (Rect rect, Color color) |
| |
| static void | DrawRectGizmo (Vector2 center, Vector2 size) |
| |
| static void | DrawRectGizmo (Vector2 center, Vector2 size, Color color) |
| |
| static bool | GameObjectIsCulledOnCurrentCamera (GameObject gameObject) |
| |
| static Color | MoveColorTowards (Color color0, Color color1, float maxDelta) |
| |
| static float | ApplyDeadZone (float value, float lowerDeadZone, float upperDeadZone) |
| |
| static float | ApplySmoothing (float thisValue, float lastValue, float deltaTime, float sensitivity) |
| |
| static float | ApplySnapping (float value, float threshold) |
| |
| static string | ReadFromFile (string path) |
| |
| static void | WriteToFile (string path, string data) |
| |
| static float | Abs (float value) |
| |
| static bool | Approximately (float v1, float v2) |
| |
| static bool | Approximately (Vector2 v1, Vector2 v2) |
| |
| static bool | IsNotZero (float value) |
| |
| static bool | IsZero (float value) |
| |
| static int | Sign (float f) |
| |
| static bool | AbsoluteIsOverThreshold (float value, float threshold) |
| |
| static float | NormalizeAngle (float angle) |
| |
| static float | VectorToAngle (Vector2 vector) |
| |
| static float | Min (float v0, float v1) |
| |
| static float | Max (float v0, float v1) |
| |
| static float | Min (float v0, float v1, float v2, float v3) |
| |
| static float | Max (float v0, float v1, float v2, float v3) |
| |
| static void | ArrayResize< T > (ref T[] array, int capacity) |
| |
| static void | ArrayExpand< T > (ref T[] array, int capacity) |
| |
| static void | ArrayAppend< T > (ref T[] array, T item) |
| |
| static void | ArrayAppend< T > (ref T[] array, T[] items) |
| |
| static int | NextPowerOfTwo (int value) |
| |
| static string | GetPlatformName (bool uppercase=true) |
| |
| static int | GetSystemBuildNumber () |
| |
| static void | LoadScene (string sceneName) |
| |
Definition at line 13 of file Utility.cs.