Inheritance
System.Object
Conversions
public static class Conversions
Methods
Declaration
public static float alignToPixel(this float v, float devicePixelRatio)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
System.Single |
devicePixelRatio |
|
Returns
Type |
Description |
System.Single |
|
Declaration
public static UnityEngine.Color toColor(this Color color)
Parameters
Type |
Name |
Description |
Color |
color |
|
Returns
Type |
Description |
UnityEngine.Color |
|
Declaration
public static Color32 toColor32(this Color color)
Parameters
Type |
Name |
Description |
Color |
color |
|
Returns
Declaration
public static UnityEngine.Rect toRect(this Rect rect)
Parameters
Type |
Name |
Description |
Rect |
rect |
|
Returns
Type |
Description |
UnityEngine.Rect |
|
Declaration
public static Vector2 toVector(this Offset offset)
Parameters
Type |
Name |
Description |
Offset |
offset |
|
Returns