Esempio n. 1
0
 public void Load()
 {
     Debug.Log("Loading:" + this.gameObject.name);
     gs = GameState.GetInstance();
     if(!gs.ExistsBool(this.name + ".taken"))
         gs.AddBool(this.name + ".taken", taken);
     taken = gs.GetBool(this.name + ".taken");
     //throw new System.NotImplementedException();
 }
Esempio n. 2
0
 public void Load()
 {
     Debug.Log("Loading:" + this.gameObject.name);
     gs = GameState.GetInstance();
     if (!gs.ExistsBool(this.name + ".taken"))
     {
         gs.AddBool(this.name + ".taken", taken);
     }
     taken = gs.GetBool(this.name + ".taken");
     //throw new System.NotImplementedException();
 }