예제 #1
0
    public void ShowUIScene(E_SCENE_UI_TYPE type)
    {
        if (m_CurrentSceneUI != null && m_sceneType == type)
        {
            return;
        }
        m_sceneType = type;
        CloseSceneUI();
        GameObject go = ResourceManager.Instance.instantiate <GameObject>("Prefabs/UI/Scene/" + type.ToString());

        m_CurrentSceneUI = go.GetComponentInChildren <UI_Base>();
        m_Target         = null;

        if (m_CurrentSceneUI != null)
        {
            m_CurrentSceneUI.OnShowUp();
        }
    }