Class InteractableOnClickReceiver
A basic receiver for detecting clicks
Inheritance
InteractableOnClickReceiver
Assembly: cs.temp.dll.dll
public class InteractableOnClickReceiver : ReceiverBase
Constructors
Creates receiver for raising OnClick events
Declaration
public InteractableOnClickReceiver(UnityEvent ev)
Parameters
Type |
Name |
Description |
UnityEvent |
ev |
|
Creates receiver for raising OnClick events
Declaration
public InteractableOnClickReceiver(UnityEvent ev)
Parameters
Type |
Name |
Description |
UnityEvent |
ev |
|
Properties
Invoked on pointer clicked
Declaration
public UnityEvent OnClicked { get; }
Property Value
Type |
Description |
UnityEvent |
|
Invoked on pointer clicked
Declaration
public UnityEvent OnClicked { get; }
Property Value
Type |
Description |
UnityEvent |
|
Methods
Declaration
public override void OnClick(InteractableStates state, Interactable source, IMixedRealityPointer pointer = null)
Parameters
Overrides
Declaration
public override void OnClick(InteractableStates state, Interactable source, IMixedRealityPointer pointer = null)
Parameters
Overrides
Declaration
public override void OnUpdate(InteractableStates state, Interactable source)
Parameters
Overrides
Declaration
public override void OnUpdate(InteractableStates state, Interactable source)
Parameters
Overrides