// A cada scroll, este metodo sera chamado para instanciar os elementos de scroll.
    public void OnScroll(Transform transform, Parallax scrolled)
    {
        if (scrolled.GetParallaxType() == Parallax.ParallaxType.FLOOR)
        {
            if (m_ScrollTime >= 0.5f)
            {
                m_ScrollTime = 0;

                Debug.Log("On Scroll!");
                m_ScrollNumber++;


                if (m_NextIsNewGameMode)
                {
                    ChangeGameMode(scrolled);
                    m_NextIsNewGameMode = false;
                }

                if (m_HasGameModeChange)
                {
                    CheckGameModeState();
                }
            }
        }

        if (scrolled.GetAssociatedGameMode() != m_CurrentMode)
        {
            transform.gameObject.SetActive(false);
        }
        else
        {
            transform.gameObject.SetActive(true);
        }
    }