Definition at line 5 of file Conversion.cs.
◆ MSToSeconds() [1/2]
static float BGC.Mathematics.Conversion.MSToSeconds |
( |
float |
ms | ) |
|
|
inlinestatic |
◆ MSToSeconds() [2/2]
static double BGC.Mathematics.Conversion.MSToSeconds |
( |
double |
ms | ) |
|
|
inlinestatic |
◆ SecondsToMS() [1/2]
static float BGC.Mathematics.Conversion.SecondsToMS |
( |
float |
seconds | ) |
|
|
inlinestatic |
◆ SecondsToMS() [2/2]
static double BGC.Mathematics.Conversion.SecondsToMS |
( |
double |
seconds | ) |
|
|
inlinestatic |
◆ WorldToScreen()
static Vector2 BGC.Mathematics.Conversion.WorldToScreen |
( |
Vector3 |
worldPos, |
|
|
RectTransform |
screenRect |
|
) |
| |
|
inlinestatic |
Definition at line 27 of file Conversion.cs.
30 Vector3 screenPoint = Camera.main.WorldToScreenPoint(worldPos);
31 RectTransformUtility.ScreenPointToLocalPointInRectangle(screenRect, screenPoint, Camera.main, out localPoint);
The documentation for this class was generated from the following file: