Init(args)
Scripting Reference
Loading...
Searching...
No Matches
Sisus.Init.IOnEnable Interface Reference

Description

Defines a class that needs to receive a callback during the OnEnable event function.

An object that is wrapped by a Wrapper receives the event every time the wrapper component becomes active and enabled.

A class that has the Service attribute receives the event when services are being initialized, after all service instances have been created.

Inheritance diagram for Sisus.Init.IOnEnable:
Sisus.Init.IEnableable

Public Member Functions

void OnEnable ()
 OnEnable is called every time the object becomes active and enabled.