|
enum class | GizmoShowOption { Never
, WhenSelected
, UnlessPlaying
, Always
} |
|
|
static Touch | GetTouch (int touchIndex) |
|
static Touch | GetTouchByFingerId (int fingerId) |
|
static Vector3 | ScreenToWorldPoint (Vector2 point) |
|
static Vector3 | ViewToWorldPoint (Vector2 point) |
|
static Vector3 | ScreenToViewPoint (Vector2 point) |
|
static float | ConvertToWorld (float value, TouchUnitType unitType) |
|
static Rect | PercentToWorldRect (Rect rect) |
|
static Rect | PixelToWorldRect (Rect rect) |
|
static Rect | ConvertToWorld (Rect rect, TouchUnitType unitType) |
|
static implicit | operator bool (TouchManager instance) |
|
|
Camera | touchCamera |
|
GizmoShowOption | controlsShowGizmos = GizmoShowOption.Always |
|
bool | enableControlsOnTouch = false |
|
int | controlsLayer = 5 |
|
|
bool | controlsEnabled [get, set] |
|
static ReadOnlyCollection< Touch > | Touches [get] |
|
static int | TouchCount [get] |
|
static Camera | Camera [get] |
|
static InputDevice | Device [get] |
|
static Vector3 | ViewSize [get] |
|
static float | PercentToWorld [get] |
|
static float | HalfPercentToWorld [get] |
|
static float | PixelToWorld [get] |
|
static float | HalfPixelToWorld [get] |
|
static Vector2 | ScreenSize [get] |
|
static Vector2 | HalfScreenSize [get] |
|
static GizmoShowOption | ControlsShowGizmos [get] |
|
static bool | ControlsEnabled [get, set] |
|
static TComponent | Instance [get] |
|
bool | EnforceSingleton [get] |
| Returns true if the object is NOT the singleton instance and should exit early from doing any redundant work. It will also log a warning if called from another instance in the editor during play mode. More...
|
|
bool | IsTheSingleton [get] |
| Returns true if the object is the singleton instance. More...
|
|
bool | IsNotTheSingleton [get] |
| Returns true if the object is not the singleton instance. More...
|
|
|
virtual void | Awake () |
|
virtual void | OnDestroy () |
|
The documentation for this class was generated from the following file:
- Assets/InControl/Source/Touch/TouchManager.cs