コード例 #1
0
    public void SettingClick()
    {
        ButtonSound.ButtonClickPlay();

        PrefabsTwo.LoadUI("Prefabs/setting");
        Destroy(gameObject);
    }
コード例 #2
0
    /// <summary>
    /// 返回建造页面
    /// </summary>
    public void BackToBuild()
    {
        ButtonSound.ButtonClickPlay();
        GameObject go = PrefabsTwo.LoadUI("Prefabs/Lottery");

        Destroy(gameObject);
    }
コード例 #3
0
    public void OpenToRetire()
    {
        ButtonSound.ButtonClickPlay();
        GameObject go = PrefabsTwo.LoadUI("Prefabs/RetireSelect");

        go.GetComponent <FormationSelectController>().pos = 3;
        Destroy(gameObject);
    }
コード例 #4
0
    /// <summary>
    /// 返回编队页面
    /// </summary>
    public void BackToFormation()
    {
        ButtonSound.ButtonClickPlay();
        GameObject go = PrefabsTwo.LoadUI("Prefabs/FormationMain");

        go.GetComponent <FormationMenuController>().type = type;
        Destroy(gameObject);
    }
コード例 #5
0
 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);
 }
コード例 #6
0
    public void PackegeOpen()
    {
        ButtonSound.ButtonClickPlay();
        GameObject go = PrefabsTwo.LoadUI("Prefabs/Packege");

        go.GetComponent <PackageController>().Choice = 1;
        go.GetComponent <PackageController>().ShowPackage();
        Destroy(gameObject);
    }
コード例 #7
0
 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);
 }
コード例 #8
0
    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);
    }
コード例 #9
0
 public void Formation()
 {
     ButtonSound.ButtonClickPlay();
     PrefabsTwo.LoadUI("Prefabs/FormationMain");
     Destroy(gameObject);
 }
コード例 #10
0
    public void ToPlayInfo(RowHeroDate heroInfo)
    {
        GameObject go = PrefabsTwo.LoadUI("Prefabs/PlayerInfo");
        go.GetComponent<PlayerInfoView>().Str_DisPlay(heroInfo);

    }
コード例 #11
0
 public void PauseClick()
 {
     PrefabsTwo.LoadUI("BattleUI/pause");
 }
コード例 #12
0
 public void BackToMain()
 {
     ButtonSound.ButtonClickPlay();
     PrefabsTwo.LoadUI("MainMenu");
     Destroy(gameObject);
 }
コード例 #13
0
 public void AttackClick()
 {
     ButtonSound.ButtonClickPlay();
     PrefabsTwo.LoadUI("Prefabs/Fight");
     Destroy(gameObject);
 }
コード例 #14
0
ファイル: info.cs プロジェクト: YxwxWh/Game.AzurLane
 public void OnClick()
 {
     Destroy(gameObject);
     PrefabsTwo.LoadUI("MainMenu");
 }
コード例 #15
0
 public void MissionOpen()
 {
     ButtonSound.ButtonClickPlay();
     PrefabsTwo.LoadUI("Prefabs/Mission");
     Destroy(gameObject);
 }
コード例 #16
0
 public void BulidOpen()
 {
     ButtonSound.ButtonClickPlay();
     PrefabsTwo.LoadUI("Prefabs/Lottery");
     Destroy(gameObject);
 }
コード例 #17
0
 public void Chuanwu()
 {
     ButtonSound.ButtonClickPlay();
     PrefabsTwo.LoadUI("Prefabs/chuanwu");
     Destroy(gameObject);
 }