Class TuringTouch
- Namespace
- Turing.Core.TuringInput
- Assembly
- Turing.Core.dll
public class TuringTouch : TuringPointer
- Inheritance
-
ObjectComponentBehaviourMonoBehaviourTuringTouch
- Inherited Members
-
MonoBehaviour.IsInvoking()MonoBehaviour.CancelInvoke()MonoBehaviour.StopCoroutine(Coroutine)MonoBehaviour.StopAllCoroutines()MonoBehaviour.useGUILayoutMonoBehaviour.runInEditModeBehaviour.enabledBehaviour.isActiveAndEnabledComponent.GetComponent<T>()Component.TryGetComponent<T>(out T)Component.GetComponentInChildren<T>()Component.GetComponentsInChildren<T>()Component.GetComponentInParent<T>()Component.GetComponentsInParent<T>()Component.GetComponents<T>()Component.transformComponent.gameObjectComponent.tagObject.GetInstanceID()Object.GetHashCode()Object.Instantiate(Object, Vector3, Quaternion)Object.Instantiate(Object, Vector3, Quaternion, Transform)Object.Instantiate(Object)Object.Instantiate(Object, Transform)Object.Instantiate<T>(T)Object.Instantiate<T>(T, Vector3, Quaternion)Object.Instantiate<T>(T, Vector3, Quaternion, Transform)Object.Instantiate<T>(T, Transform)Object.Destroy(Object)Object.DestroyImmediate(Object)Object.DontDestroyOnLoad(Object)Object.DestroyObject(Object)Object.FindObjectsOfType<T>()Object.FindObjectsByType<T>(FindObjectsSortMode)Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)Object.FindObjectOfType<T>()Object.FindFirstObjectByType<T>()Object.FindAnyObjectByType<T>()Object.FindFirstObjectByType<T>(FindObjectsInactive)Object.FindAnyObjectByType<T>(FindObjectsInactive)Object.ToString()Object.nameObject.hideFlags
- Extension Methods
Properties
ButtonCount
The number of buttons supported by the pointer.
public override int ButtonCount { get; }
Property Value
Id
The unique id of the pointer.
public override int Id { get; }
Property Value
IsTouchPointer
public override bool IsTouchPointer { get; }
Property Value
IsVisible
The current visibility state of the pointer.
public override bool IsVisible { get; }
Property Value
ScrollDelta
The current scroll delta of the pointer.
public override Vector2 ScrollDelta { get; }
Property Value
- Vector2
TouchAverageMovement
public override Vector2 TouchAverageMovement { get; }
Property Value
- Vector2
TwoFingerMovement
public override Vector2 TwoFingerMovement { get; }
Property Value
- Vector2
Methods
ComputeWorldPose()
protected override Pose ComputeWorldPose()
Returns
- Pose
GetButton(int)
Gets whether the specified button is currently in a pressed state.
public override bool GetButton(int id)
Parameters
idintThe id of the button.
Returns
- bool
True if the specified button is pressed. False otherwise.
GetButtonDown(int)
Gets whether the specified button became pressed this frame.
public override bool GetButtonDown(int id)
Parameters
idintThe id of the button.
Returns
- bool
True if the specified button became pressed. False otherwise.
OnEnable()
protected override void OnEnable()
ProcessButtonState()
public override void ProcessButtonState()
Start()
protected override void Start()
Update()
protected override void Update()