//이전 스테이지를 클리어해서 다음 스테이지 슬롯이 열림 public void BossStageSlotOpen() { if (bossStageStatus == BossStageStatus.Rock) { stageSelectButton.interactable = true; //버튼 클릭 가능 go_BossStageInformation.SetActive(true); //스테이지 Text, Star Image 활성화 bossStageStatus = BossStageStatus.Open; } }
//마스터 모드 public void SetOpen() { starCount = 0; stageSelectButton.interactable = true; //버튼 클릭 가능 for (int i = 0; i < starImages.Length; i++) { starImages[i].sprite = UIManager.instance.blankStar2Sprite; } go_BossStageInformation.SetActive(true); //스테이지 Text, Star Image 활성화 bossStageStatus = BossStageStatus.Open; }
public void SetBossStageSlot(int _statusNumber, int _minPanaltyPoint, int _starCount) { if (_statusNumber == 1) { bossStageStatus = BossStageStatus.Open; } else if (_statusNumber == 2) { bossStageStatus = BossStageStatus.Clear; } else { return; } minPanaltyPoint = _minPanaltyPoint; starCount = _starCount; StarImageChange(); go_BossStageInformation.SetActive(true); stageSelectButton.interactable = true; }