private void Awake() { if (singleton == null) { singleton = this; } else if (singleton != this) { Destroy(gameObject); } }
public void Deregister() { DestructableManager.Deregister(this); }
public void Register() { DestructableManager.Register(this); }