Class RuntimeHandleContextModule | MARS | 1.0.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class RuntimeHandleContextModule

    Inheritance
    Object
    RuntimeHandleContextModule
    Namespace: Unity.MARS
    Syntax
    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

    LoadModule()

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

    OnBehaviorAwake()

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

    OnBehaviorDestroy()

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

    OnBehaviorDisable()

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

    OnBehaviorEnable()

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

    OnBehaviorStart()

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

    OnBehaviorUpdate()

    Declaration
    public void OnBehaviorUpdate()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorUpdate()

    UnloadModule()

    Declaration
    public void UnloadModule()
    Implements
    IModule.UnloadModule()
    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