DontDestroyOnLoad Class |
Namespace: DustProductions.Core
public class DontDestroyOnLoad : MonoBehaviour
The DontDestroyOnLoad type exposes the following members.
| Name | Description | |
|---|---|---|
| DontDestroyOnLoad | Initializes a new instance of the DontDestroyOnLoad class |
| 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.) |