示例#1
0
 void Init()
 {
     for (int i = 0; i < 3; i++)
     {
         arrBtnLevel[i] = null;
     }
     bossType  = eBossType.None;
     bossLevel = eBossLevel.None;
     charType  = eCharType.None;
 }
示例#2
0
 void OnBtnMidiumLevelBossClicked()
 {
     LoadSceneSelectCharScene();
     bossLevel = eBossLevel.Midium;
 }
示例#3
0
 void OnBtnHighLevelBossClicked()
 {
     LoadSceneSelectCharScene();
     bossLevel = eBossLevel.High;
 }
示例#4
0
    /*
     * void LevelButtonInteractable(eBossType type)
     * {
     *  if (bossType == type)
     *      return;
     *  for (int i = 0; i < 3; i++)
     *  {
     *      arrBtnLevel[i].interactable = true;
     *  }
     *  GameObject.Find("ImgSelector").transform.position = arrBtnBoss[(int)type].transform.position;
     * }
     *
     */

    //SelectBossScene
    void OnBtnLowLevelBossClicked()
    {
        LoadSceneSelectCharScene();
        bossLevel = eBossLevel.Low;
    }