![]() | SingletonT Methods |
The SingletonT generic type exposes the following members.
Name | Description | |
---|---|---|
![]() | Awake |
This checks for any other Singletons and destroys itself if one exists.
|
![]() ![]() | CreateInstance |
If you want more control over when Singletons are created, you can use this to generate it instead of blindly calling the .Instance.
|
Name | Description | |
---|---|---|
![]() | AnnounceComponentAdded |
Notifies any IComponentHandlers on the GameObject a Component is added to, that the Component has been added.
(Defined by ExtensionMethods.) |
![]() | StartCoroutineT |
Use by calling this.StartCoroutine and assigning it to a Coroutine. Then you can call your assigned coroutine.Cancel(), or .HasFinished, or a variety of other neat things.
(Defined by ExtensionMethods.) |
![]() | TryGetComponentT(T, Boolean) | Overloaded.
Attempts to get a component on a gameobject.
(Defined by ExtensionMethods.) |
![]() | TryGetComponentT1, T2(T1, Boolean) | Overloaded.
Attempts to get a component on a gameobject.
(Defined by ExtensionMethods.) |
![]() | TryGetComponentsT(T, Boolean) | Overloaded.
Attempts to get components on a gameobject.
(Defined by ExtensionMethods.) |
![]() | TryGetComponentsT1, T2(T1, Boolean) | Overloaded.
Attempts to get components on a gameobject.
(Defined by ExtensionMethods.) |