// Use this for initialization void Start() { clas = FindObjectOfType <SimpleClasses>(); battleEvent = FindObjectOfType <SimpleBattleHandler>(); area = AreaType.area1; }
// Use this for initialization void Start() { craftStore = FindObjectOfType <CraftStore>(); store = FindObjectOfType <Store>(); clas = GameObject.FindObjectOfType <SimpleClasses>(); battle = GameObject.FindObjectOfType <SimpleBattleHandler>(); // player = GameObject.FindGameObjectWithTag("Player"); item = GameObject.FindObjectOfType <simpleInventory>(); inventory = FindObjectOfType <simpleInventory>(); sentences = new Queue <string>(); anim.SetBool("TalkBoxOpen", false); Invoke("getMovement", 2f); canDo = true; }
public override bool Equals(object obj) { if (obj.GetType() != typeof(MultipleSets)) { return(false); } var target = obj as MultipleSets; return(Id == target.Id && SimpleClasses.EnumerableEquals(target.SimpleClasses) && StringSet.EnumerableEquals(target.StringSet) && IntegerSet.EnumerableEquals(target.IntegerSet) && DoubleSet.EnumerableEquals(target.DoubleSet) && DateSet.EnumerableEquals(target.DateSet)); }
// Use this for initialization void Start() { // PlayerPrefs.DeleteAll(); // get the refrences // undo later // PlayerPrefs.DeleteAll(); Inventory = FindObjectOfType <simpleInventory>(); classes = FindObjectOfType <SimpleClasses>(); // set the SaveGame Data in the main menu that was selected Here << should be player prefs enabled // Data GameSlot,PlayerSelected << class should be enabled later on // this should be chaged to player pref data later and set in main menu GameID = 0; playerID = 0; GameID = PlayerPrefs.GetInt("MenuLoadGameSlot"); LoadGame(GameID); }
public void Add(SimpleClass simpleClass) { SimpleClasses.Add(simpleClass); }