|
Init(args)
Scripting Reference
|
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.
Public Member Functions | |
| void | OnEnable () |
| OnEnable is called every time the object becomes active and enabled. | |