Exemplo n.º 1
0
    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;
    }
Exemplo n.º 2
0
    // 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;
    }