protected virtual void Awake() { activeTime = offset; if (interval < 0.01f) { interval = 0.01f; } ResetManager.Register(this, resetKey); SuspensionManager.Register(this, suspensionKey); }
protected virtual void OnDestroy() { ResetManager.Unregister(this, resetKey); SuspensionManager.Unregister(this, suspensionKey); }