Interface IModuleBehaviorCallbacks | Unity Reflect | 1.0.0-preview.11
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IModuleBehaviorCallbacks

    Define this module as one that needs behavior callbacks These methods provide entry points for scene load and unload operations during MonoBehaviour callback phases, i.e. using capabilities to create required providers

    Inherited Members
    IModule.LoadModule()
    IModule.UnloadModule()
    Namespace: Unity.Labs.ModuleLoader
    Syntax
    public interface IModuleBehaviorCallbacks : IModule

    Methods

    OnBehaviorAwake()

    Called by ModuleManager Awake as early as possible (using a very low Script Execution Order)

    Declaration
    void OnBehaviorAwake()

    OnBehaviorDestroy()

    Called by ModuleManager OnDestroy as early as possible (using a very low Script Execution Order)

    Declaration
    void OnBehaviorDestroy()

    OnBehaviorDisable()

    Called by ModuleManager OnDisable as early as possible (using a very low Script Execution Order)

    Declaration
    void OnBehaviorDisable()

    OnBehaviorEnable()

    Called by ModuleManager OnEnable as early as possible (using a very low Script Execution Order)

    Declaration
    void OnBehaviorEnable()

    OnBehaviorStart()

    Called by ModuleManager Start as early as possible (using a very low Script Execution Order)

    Declaration
    void OnBehaviorStart()

    OnBehaviorUpdate()

    Called by ModuleManager Update as early as possible (using a very low Script Execution Order)

    Declaration
    void 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