コード例 #1
0
    public void ShowWindow(CAssetToolkitWindow Window)
    {
        if (_activeWindow != null)
        {
            _activeWindow.mPrimaryContent.SetActive(false);
            mUI.SetTab(_activeWindow.mWindowTab, false, true);
            _activeWindow.Hide();
            _camView = null;
        }

        _activeWindow = Window;

        if (_activeWindow != null)
        {
            _activeWindow.mPrimaryContent.SetActive(true);
            mUI.SetTab(_activeWindow.mWindowTab, true, true);
            _activeWindow.Show();
            EventSystem.current.SetSelectedGameObject(null);
        }
    }