![]() | SingletonBehaviour Methods |
The SingletonBehaviour type exposes the following members.
Name | Description | |
---|---|---|
![]() | Awake |
Unity component method. This method cannot be overridden.
To perform initialisation tasks, override CoroutineInitialise()
To execute code in Awake(), override OnAwake() on this class
|
![]() | CoroutineInitialise |
Override this to perform initialisation tasks
This coroutine is started in Awake().
To execute code in Awake(), override OnAwake()
|
![]() | OnAwake |
Override this method to call code in the Awake() method (after singleton registration, but before coroutine)
|
![]() | OnDestroy |
Unity component method
|
![]() | OnDisable |
Unity component method.
|
![]() | OnEnable |
Unity component method.
|
Name | Description | |
---|---|---|
![]() | GetCopyOf |
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.) |
![]() | WaitForT |
Waits for a singleton on a coroutine
(Defined by SingletonManager.) |