Exemplo n.º 1
0
 public void OnDisable()
 {
     Debug.Assert(Instance == this);
     Instance = null;
 }
Exemplo n.º 2
0
 public void OnEnable()
 {
     Debug.Assert(Instance == null);
     Instance = this;
 }