Click or drag to resize

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)
Syntax
C#
public enum CachePromptType
Members
  Member nameValueDescription
None0 No caching will be done on this object
OnAwake10 Cache this object when Awake is called by Unity
OnStart20 Cache this object when Start is called by Unity
BeforeFirstModification30 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