void NextEvent() { SetEneble(false); SceneLoader.LoadScene(1); ClearItem(); ResourcesUIControl.TurnUION(true); }
public void LoadLevel() { int[] eqStat = FindObjectOfType <PlayerData_Battle> ().GetEqStatus(); if (eqStat[0] != -1 && eqStat[1] != -1) { if (selectedLevel != -1) { ResourcesUIControl.TurnUION(false); SceneLoader.LoadScene(3); LevelLoader.LoadLevel(selectedLevel); } else { PopUpControler.CallPopUp( "notice", "Select A Level", "Please select Avaiable level before battle Start", ""); } } else { PopUpControler.CallPopUp( "notice", "Check Equipment", "Please wear some equipment before battle, wear a WEAPON and ARMOR", ""); } }
public void Open() { SceneLoader.LoadScene(1); startMenu.SetActive(false); ResourcesUIControl.TurnUION(true); DBSaveControl.LoadData(); }
public void OpenInvetory() { SceneLoader.LoadScene(2); ResourcesUIControl.TurnUION(true); }