|
|
|
|
|
|
RandomizerTagManager tagManager => RandomizerTagManager.singleton; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Awake is called when this RandomizerTag is created or instantiated
|
|
|
|
/// OnEnable is called when this RandomizerTag is enabled, either created, instantiated, or enabled via
|
|
|
|
/// the Unity Editor
|
|
|
|
protected virtual void Awake() |
|
|
|
protected void OnEnable() |
|
|
|
/// OnDestroy is called when this RandomizerTag is destroyed
|
|
|
|
/// OnDisable is called when this RandomizerTag is disabled
|
|
|
|
protected virtual void OnDestroy() |
|
|
|
protected virtual void OnDisable() |
|
|
|
{ |
|
|
|
Unregister(); |
|
|
|
} |
|
|
|