public void ReplaceChoice(ChoicesMadeType choice) { if (BunnySceneController.Instance != null) { BunnySceneController.Instance.ActivateZoner(choice); } _choicesMadeHistory[_currentChoiceIndex - 1] = choice; Debug.Log(_choicesMadeHistory[_currentChoiceIndex - 1]); }
public void AddChoice(ChoicesMadeType choice) { if (BunnySceneController.Instance != null) { BunnySceneController.Instance.ActivateZoner(choice); } _choicesMadeHistory.Add(choice); Debug.Log(_choicesMadeHistory[_currentChoiceIndex]); _currentChoiceIndex++; }
public void PerformCommFromCheck(ChoicesMadeType type) { switch (type) { case ChoicesMadeType.Good: _triggers[0].TriggerCommunication(_instance); break; case ChoicesMadeType.Neutral: _triggers[1].TriggerCommunication(_instance); break; case ChoicesMadeType.Bad: _triggers[2].TriggerCommunication(_instance); break; default: break; } }
public void ActivateZoner(ChoicesMadeType type) { _badZoner.SetActive(false); _neutralZoner.SetActive(false); _goodZoner.SetActive(false); switch (type) { case ChoicesMadeType.Good: _goodZoner.SetActive(true); break; case ChoicesMadeType.Neutral: _neutralZoner.SetActive(true); break; case ChoicesMadeType.Bad: _badZoner.SetActive(true); break; default: break; } }