Class InteractableOnFocusReceiver
A basic focus event receiver
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.UI
Assembly: cs.temp.dll.dll
Syntax
public class InteractableOnFocusReceiver : ReceiverBase
Constructors
InteractableOnFocusReceiver()
Creates receiver that raises focus enter and exit unity events
Declaration
public InteractableOnFocusReceiver()
InteractableOnFocusReceiver()
Creates receiver that raises focus enter and exit unity events
Declaration
public InteractableOnFocusReceiver()
InteractableOnFocusReceiver(UnityEvent)
Creates receiver that raises focus enter and exit unity events
Declaration
public InteractableOnFocusReceiver(UnityEvent ev)
Parameters
Type | Name | Description |
---|---|---|
UnityEvent | ev |
InteractableOnFocusReceiver(UnityEvent)
Creates receiver that raises focus enter and exit unity events
Declaration
public InteractableOnFocusReceiver(UnityEvent ev)
Parameters
Type | Name | Description |
---|---|---|
UnityEvent | ev |
Fields
OnFocusOff
Raised when focus has left the object
Declaration
public UnityEvent OnFocusOff
Field Value
Type | Description |
---|---|
UnityEvent |
OnFocusOff
Raised when focus has left the object
Declaration
public UnityEvent OnFocusOff
Field Value
Type | Description |
---|---|
UnityEvent |
Properties
OnFocusOn
Raised when focus has entered the object
Declaration
public UnityEvent OnFocusOn { get; }
Property Value
Type | Description |
---|---|
UnityEvent |
OnFocusOn
Raised when focus has entered the object
Declaration
public UnityEvent OnFocusOn { get; }
Property Value
Type | Description |
---|---|
UnityEvent |
Methods
OnUpdate(InteractableStates, Interactable)
Declaration
public override void OnUpdate(InteractableStates state, Interactable source)
Parameters
Type | Name | Description |
---|---|---|
InteractableStates | state | |
Interactable | source |
Overrides
OnUpdate(InteractableStates, Interactable)
Declaration
public override void OnUpdate(InteractableStates state, Interactable source)
Parameters
Type | Name | Description |
---|---|---|
InteractableStates | state | |
Interactable | source |