Show / Hide Table of Contents

    Class InteractableEvent

    Event base class for events attached to Interactables.

    Inheritance
    Object
    InteractableEvent
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.UI
    Assembly: cs.temp.dll.dll
    Syntax
    [Serializable]
    public class InteractableEvent

    Fields

    AssemblyQualifiedName

    Declaration
    public string AssemblyQualifiedName
    Field Value
    Type Description
    String

    ClassName

    Declaration
    public string ClassName
    Field Value
    Type Description
    String

    Event

    Declaration
    public UnityEvent Event
    Field Value
    Type Description
    UnityEvent

    HideUnityEvents

    Declaration
    public bool HideUnityEvents
    Field Value
    Type Description
    Boolean

    Name

    Declaration
    public string Name
    Field Value
    Type Description
    String

    Receiver

    Declaration
    public ReceiverBase Receiver
    Field Value
    Type Description
    ReceiverBase

    Settings

    Declaration
    public List<InspectorPropertySetting> Settings
    Field Value
    Type Description
    List<InspectorPropertySetting>

    Methods

    AddOnClick()

    Declaration
    public InteractableEvent.ReceiverData AddOnClick()
    Returns
    Type Description
    InteractableEvent.ReceiverData

    AddReceiver(Type)

    Add new events/receivers to the list and grab all the InspectorFields so we can render them in the inspector

    Declaration
    public InteractableEvent.ReceiverData AddReceiver(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    InteractableEvent.ReceiverData

    GetEventTypes()

    Get the recieverBase types that contain event logic

    Declaration
    public static InteractableTypesContainer GetEventTypes()
    Returns
    Type Description
    InteractableTypesContainer

    GetReceiver(InteractableEvent, InteractableTypesContainer)

    Create the event and setup the values from the inspector

    Declaration
    public static ReceiverBase GetReceiver(InteractableEvent iEvent, InteractableTypesContainer interactableTypes)
    Parameters
    Type Name Description
    InteractableEvent iEvent
    InteractableTypesContainer interactableTypes
    Returns
    Type Description
    ReceiverBase
    Back to top Generated by DocFX