Exemplo n.º 1
0
 private void OnDestroy()
 {
     PersistObjects.RemovePersist(key, this.gameObject, false);
 }
Exemplo n.º 2
0
 private void Awake()
 {
     PersistObjects.AddPersist(key, this.gameObject);
 }