Exemplo n.º 1
0
    private void EnableScriptsAndComponents()
    {
        foreach (var component in m_ScriptsToDisable)
        {
            component.enabled = true;
        }
        foreach (var gameObject in m_ObjectsToDisable)
        {
            gameObject.SetActive(true);
        }

        m_Graphics.Show();
        m_Collider.enabled = true;
    }