Exemple #1
0
 void Awake()
 {
     Debug.Assert(Instance == null, "There are multiple instances of the OtherPlayersStore.");
     Instance = this;
 }
Exemple #2
0
 private void OnDestroy()
 {
     Instance = null;
 }