docs.unity3d.com
    Show / Hide Table of Contents

    Class RuntimeHandleContextModule

    Inheritance
    Object
    RuntimeHandleContextModule
    Namespace: Unity.MARS.Authoring
    Syntax
    [MovedFrom("Unity.MARS")]
    public class RuntimeHandleContextModule : IModuleBehaviorCallbacks, IModule, IUsesFunctionalityInjection, IFunctionalitySubscriber<IProvidesFunctionalityInjection>, IFunctionalitySubscriber

    Properties

    Instance

    Declaration
    public static RuntimeHandleContextModule Instance { get; }
    Property Value
    Type Description
    RuntimeHandleContextModule

    IsInteracting

    Whether there is currently a handle hover or drag happening

    Declaration
    public static bool IsInteracting { get; }
    Property Value
    Type Description
    Boolean

    provider

    Declaration
    public IProvidesFunctionalityInjection provider { get; set; }
    Property Value
    Type Description
    IProvidesFunctionalityInjection
    Implements
    IFunctionalitySubscriber<TProvider>.provider

    Methods

    CreateHandle(GameObject)

    Declaration
    public GameObject CreateHandle(GameObject prefab)
    Parameters
    Type Name Description
    GameObject prefab
    Returns
    Type Description
    GameObject

    DestroyHandle(GameObject)

    Declaration
    public bool DestroyHandle(GameObject handle)
    Parameters
    Type Name Description
    GameObject handle
    Returns
    Type Description
    Boolean

    Explicit Interface Implementations

    IModule.LoadModule()

    Declaration
    void IModule.LoadModule()
    Implements
    IModule.LoadModule()

    IModule.UnloadModule()

    Declaration
    void IModule.UnloadModule()
    Implements
    IModule.UnloadModule()

    IModuleBehaviorCallbacks.OnBehaviorAwake()

    Declaration
    void IModuleBehaviorCallbacks.OnBehaviorAwake()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorAwake()

    IModuleBehaviorCallbacks.OnBehaviorDestroy()

    Declaration
    void IModuleBehaviorCallbacks.OnBehaviorDestroy()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorDestroy()

    IModuleBehaviorCallbacks.OnBehaviorDisable()

    Declaration
    void IModuleBehaviorCallbacks.OnBehaviorDisable()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorDisable()

    IModuleBehaviorCallbacks.OnBehaviorEnable()

    Declaration
    void IModuleBehaviorCallbacks.OnBehaviorEnable()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorEnable()

    IModuleBehaviorCallbacks.OnBehaviorStart()

    Declaration
    void IModuleBehaviorCallbacks.OnBehaviorStart()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorStart()

    IModuleBehaviorCallbacks.OnBehaviorUpdate()

    Declaration
    void IModuleBehaviorCallbacks.OnBehaviorUpdate()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorUpdate()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023