Value |
The TouchPadValueFormat type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | Direction | A normalized direction vector. |
![]() ![]() | Physical | 1 unit = 1/100th of an inch. The resulting value will be consistent across different screen resolutions and sizes. IMPORTANT: This relies on the value returned by UnityEngine.Screen.dpi. If the device does not return a value, a reference resolution of 96 dpi will be used. |
![]() ![]() | Pixels | Screen pixels. |
![]() ![]() | Screen | The proportion of the value to screen size in the corresponding dimension. 1 unit = 1 screen length (width for X, height for Y). |
![]() | value__ |