Cacheable Class |
Namespace: DustProductions.Core
public abstract class Cacheable : MonoBehaviour
The Cacheable type exposes the following members.
| Name | Description | |
|---|---|---|
| Awake |
The Awake method Unity calls
| |
| DoCache |
Classes are responsible for implementing the caching themselves.
| |
| SetToCached |
Classes are responsible for setting themselves to the cached values.
| |
| Start |
The Start method Unity calls
|
| Name | Description | |
|---|---|---|
| CachePrompt |
When should this object cache itself?
| |
| HasCached |
If this object has already cached.
|
| 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.) |