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
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()