Beispiel #1
0
 public void OnDisable()
 {
     Debug.Assert(Instance == this);
     Instance = null;
 }
Beispiel #2
0
 public void OnEnable()
 {
     Debug.Assert(Instance == null);
     Instance = this;
 }