Exemplo n.º 1
0
 void Awake()
 {
     Debug.Assert(Instance == null, "There are multiple Bullet instances.");
     Instance = this;
 }
Exemplo n.º 2
0
 private void OnDestroy()
 {
     Instance = null;
 }