public void SetAwaitingCombatEventState(EnemyWaveSO combatAwaited) { Debug.Log("StoryEventController.SetAwaitingCombatEventState() called, on continute button clicked, combat event " + combatAwaited.waveName + " will be triggered"); combatEventAwaitingStart = combatAwaited; eventFiredOnContinueButtonClicked = ContinueButtonEvent.TriggerCombatEvent; }
// View + GUI Logic #region public void ResetAndFlushAllPropertiesAndViews() { Debug.Log("StoryEventController.ResetAndFlushAllPropertiesAndViews()"); DestroyAllChoiceButtons(); SetContinueButtonVisibility(false); SetContinueButtonInteractableState(false); SetEventDescriptionText(""); SetStoryNameText(""); eventFiredOnContinueButtonClicked = ContinueButtonEvent.None; combatEventAwaitingStart = null; currentStoryPage = null; }