Class InteractableOnHoldReceiver
Basic hold event receiver
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.UI
Assembly: cs.temp.dll.dll
Syntax
public class InteractableOnHoldReceiver : ReceiverBase
Constructors
InteractableOnHoldReceiver(UnityEvent)
Declaration
public InteractableOnHoldReceiver(UnityEvent ev)
Parameters
Type | Name | Description |
---|---|---|
UnityEvent | ev |
Fields
HoldTime
Declaration
public float HoldTime
Field Value
Type | Description |
---|---|
Single |
Methods
OnUpdate(InteractableStates, Interactable)
Declaration
public override void OnUpdate(InteractableStates state, Interactable source)
Parameters
Type | Name | Description |
---|---|---|
InteractableStates | state | |
Interactable | source |