void Init() { for (int i = 0; i < 3; i++) { arrBtnLevel[i] = null; } bossType = eBossType.None; bossLevel = eBossLevel.None; charType = eCharType.None; }
void OnBtnMidiumLevelBossClicked() { LoadSceneSelectCharScene(); bossLevel = eBossLevel.Midium; }
void OnBtnHighLevelBossClicked() { LoadSceneSelectCharScene(); bossLevel = eBossLevel.High; }
/* * 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; }