Class InteractableEvent
Event base class for events attached to Interactables.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.UI
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public class InteractableEvent
Fields
Event
Base Event used to initialize EventReceiver class
Declaration
public UnityEvent Event
Field Value
Type | Description |
---|---|
UnityEvent |
Receiver
ReceiverBase instantiation for this InteractableEvent. Used at runtime by Interactable class
Declaration
public ReceiverBase Receiver
Field Value
Type | Description |
---|---|
ReceiverBase |
Properties
ReceiverType
Defines the type of Receiver to associate. Type must be a class that extends ReceiverBase
Declaration
public Type ReceiverType { get; set; }
Property Value
Type | Description |
---|---|
Type |
Methods
CreateReceiver(InteractableEvent)
Create the event and setup the values from the inspector. If the asset is invalid, returns null.
Declaration
public static ReceiverBase CreateReceiver(InteractableEvent iEvent)
Parameters
Type | Name | Description |
---|---|---|
InteractableEvent | iEvent |
Returns
Type | Description |
---|---|
ReceiverBase |