// ==================== GENERIC GAME STATE FUNCTIONS APPLICABLE TO ALL CONTEXTS ==================== //

    public void HandleReturnFlowToGameState()
    {
        if (m_IsOnTrain)
        {
            m_TrainSetting.SetActive(true);
            SetIndicatorToBlackAndIncrementCheckpointCounter();
        }
        m_IsPlayingMinigame = false;
        m_MinigamesCleared += 1;

        if (m_MinigamesCleared == 3)
        {
            m_PhoneScript.NotifyEndingReached();
            m_WalkingBackground.SetActive(true);
            StartCoroutine(ShowEndingCoroutine());
        }
    }