Interface IModuleBehaviorCallbacks | Unity Reflect | 1.1.0-preview.6
docs.unity.cn
    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 © 2020 Unity Technologies
    Generated by DocFX