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