private void Deregister() { if (Application.isPlaying && gameObject.activeInHierarchy) { ModifierManager.Deregister(this); } }
private void Deregister() { if (Application.isPlaying) { ModifierManager.Deregister(this); } }