![]() |
Ryle Radio 1.0.0
An open-source "radio" system for Unity, allowing tracks, tuning, broadcasters, and more!
|
Various utilities used throughout the project. More...
Static Public Member Functions | |
| static float | Remap (this float _value, float _from1, float _to1, float _from2, float _to2) |
| Remaps a float between [_from1 - _from2] to [_to1 - _to2] Preserves the float's position in the range. | |
| static Vector3 | Abs (this Vector3 _value) |
| Gets the absolute value of all components of a vector at once. | |
| static Type[] | FindDerivedTypes (Type _baseType) |
Gets all types derived from a given one. Does not include:
| |
Various utilities used throughout the project.
Definition at line 27 of file RadioUtils.cs.
|
static |
Gets the absolute value of all components of a vector at once.
| _value | The vector to convert to absolute values |
Definition at line 55 of file RadioUtils.cs.
|
static |
Gets all types derived from a given one. Does not include:
| _baseType | The eventType to find derived types of |
Definition at line 72 of file RadioUtils.cs.
|
static |
Remaps a float between [_from1 - _from2] to [_to1 - _to2] Preserves the float's position in the range.
| _value | A _value between _from1 and _from2 |
Definition at line 40 of file RadioUtils.cs.