public void SettingClick() { ButtonSound.ButtonClickPlay(); PrefabsTwo.LoadUI("Prefabs/setting"); Destroy(gameObject); }
/// <summary> /// 返回建造页面 /// </summary> public void BackToBuild() { ButtonSound.ButtonClickPlay(); GameObject go = PrefabsTwo.LoadUI("Prefabs/Lottery"); Destroy(gameObject); }
public void OpenToRetire() { ButtonSound.ButtonClickPlay(); GameObject go = PrefabsTwo.LoadUI("Prefabs/RetireSelect"); go.GetComponent <FormationSelectController>().pos = 3; Destroy(gameObject); }
/// <summary> /// 返回编队页面 /// </summary> public void BackToFormation() { ButtonSound.ButtonClickPlay(); GameObject go = PrefabsTwo.LoadUI("Prefabs/FormationMain"); go.GetComponent <FormationMenuController>().type = type; Destroy(gameObject); }
public void EditFormation(RowHeroDate heroInfo, int type) { this.type = type; GameObject go = PrefabsTwo.LoadUI("Prefabs/FormationSelect"); go.GetComponent<FormationSelectController>().heroInfo = heroInfo; go.GetComponent<FormationSelectController>().type = type; Destroy(gameObject); }
public void PackegeOpen() { ButtonSound.ButtonClickPlay(); GameObject go = PrefabsTwo.LoadUI("Prefabs/Packege"); go.GetComponent <PackageController>().Choice = 1; go.GetComponent <PackageController>().ShowPackage(); Destroy(gameObject); }
public void AddFormation(int pos,int type) { this.pos = pos; this.type = type; GameObject go = PrefabsTwo.LoadUI("Prefabs/FormationSelect"); go.GetComponent<FormationSelectController>().pos = pos; go.GetComponent<FormationSelectController>().type = type; Destroy(gameObject); }
public void OpenPackage(string pos) { GameObject go = PrefabsTwo.LoadUI("Prefabs/Packege"); go.GetComponent <PackageController>().Choice = 2; go.GetComponent <PackageController>().EquipPos = pos; go.GetComponent <PackageController>().EquipHero = Date; go.GetComponent <PackageController>().ShowPackage(); Destroy(gameObject); }
public void Formation() { ButtonSound.ButtonClickPlay(); PrefabsTwo.LoadUI("Prefabs/FormationMain"); Destroy(gameObject); }
public void ToPlayInfo(RowHeroDate heroInfo) { GameObject go = PrefabsTwo.LoadUI("Prefabs/PlayerInfo"); go.GetComponent<PlayerInfoView>().Str_DisPlay(heroInfo); }
public void PauseClick() { PrefabsTwo.LoadUI("BattleUI/pause"); }
public void BackToMain() { ButtonSound.ButtonClickPlay(); PrefabsTwo.LoadUI("MainMenu"); Destroy(gameObject); }
public void AttackClick() { ButtonSound.ButtonClickPlay(); PrefabsTwo.LoadUI("Prefabs/Fight"); Destroy(gameObject); }
public void OnClick() { Destroy(gameObject); PrefabsTwo.LoadUI("MainMenu"); }
public void MissionOpen() { ButtonSound.ButtonClickPlay(); PrefabsTwo.LoadUI("Prefabs/Mission"); Destroy(gameObject); }
public void BulidOpen() { ButtonSound.ButtonClickPlay(); PrefabsTwo.LoadUI("Prefabs/Lottery"); Destroy(gameObject); }
public void Chuanwu() { ButtonSound.ButtonClickPlay(); PrefabsTwo.LoadUI("Prefabs/chuanwu"); Destroy(gameObject); }