 | CachePromptType Enumeration |
When to cache a Cacheable object. These are offset by 10 so that anything that needs to go in between can do so without having a crazy int order.
Namespace:
DustProductions.Core
Assembly:
DustProductions.Core (in DustProductions.Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic enum CachePromptType
Members
| Member name | Value | Description |
---|
| None | 0 |
No caching will be done on this object
|
| OnAwake | 10 |
Cache this object when Awake is called by Unity
|
| OnStart | 20 |
Cache this object when Start is called by Unity
|
| BeforeFirstModification | 30 |
Cache this object before any of the values are modified, class is responsible for implementing this, as there's no way to know when things will be modified in the Cacheable class
|
See Also