Table of Contents

Class TuringTouch

Namespace
Turing.Core.TuringInput
Assembly
Turing.Core.dll
public class TuringTouch : TuringPointer
Inheritance
Object
Component
Behaviour
MonoBehaviour
TuringTouch
Inherited Members
MonoBehaviour.IsInvoking()
MonoBehaviour.CancelInvoke()
MonoBehaviour.StopCoroutine(Coroutine)
MonoBehaviour.StopAllCoroutines()
MonoBehaviour.useGUILayout
MonoBehaviour.runInEditMode
Behaviour.enabled
Behaviour.isActiveAndEnabled
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Component.transform
Component.gameObject
Component.tag
Object.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.name
Object.hideFlags
Extension Methods

Properties

ButtonCount

The number of buttons supported by the pointer.

public override int ButtonCount { get; }

Property Value

int

Id

The unique id of the pointer.

public override int Id { get; }

Property Value

int

IsTouchPointer

public override bool IsTouchPointer { get; }

Property Value

bool

IsVisible

The current visibility state of the pointer.

public override bool IsVisible { get; }

Property Value

bool

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

id int

The 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

id int

The 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()