예제 #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();
 }
예제 #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();
 }