public void ShowField_NoticeReleaseZombie(bool check, Pack_ReleaseZombie pack = null) { if (pack != null) { this.UILeader_ReleaseZombie.Set(pack); } if (check) { this.UILeader_ReleaseZombie.DoAnimation(); } }
private void Scenario_NoticeRelease() { // :: Set this.isEnd = true; // :: Check Debug.LogWarning("== Training Point로 성공 실패 판정"); this.curZombie.Set_CompleteStatus(); // :: Pack Pack_ReleaseZombie pack = this.Packing_ReleaseZombie(); // :: Show this.UIChief.ShowField_NoticeReleaseZombie(true, pack); }
public void Set(Pack_ReleaseZombie pack) { // :: Init this.FIELD_CompleteSuccess.SetActive(false); this.FIELD_CompleteFail.SetActive(false); // :: Set this.TEXT_Name.text = pack.zombieName; this.TEXT_Gold.text = "+" + pack.earningGold; this.TEXT_Description.text = pack.completeDescription; if (pack.eCompleteStatus == Enum.eCompleteStatus.SUCCESS) { this.FIELD_CompleteSuccess.SetActive(true); } else { this.FIELD_CompleteFail.SetActive(true); } }