/// <summary> /// Accept按钮单击回调 /// </summary> public void AcceptButtonClick() { QuestManager.Instance().questState = QuestManager.QuestState.ACCEPT; if (QuestManager.Instance().questState == QuestManager.QuestState.ACCEPT) { ZombieSpawner.Instance().SpawnZombieByType(questZombieIndex); quest_fox_content1.SetActive(false); quest_fox_content2.SetActive(true); acceptButton.SetActive(false); cancelButton.SetActive(false); okButton.SetActive(true); } }
/// <summary> /// Again按钮单击回调 /// </summary> public void AgainButtonClick() { ZombieSpawner.Instance().SpawnZombieByType(questZombieIndex); Hide(); }