示例#1
0
        public void Begin()
        {
            if (Event.current.type == EventType.Layout)
            {
                m_Windows.Clear();
            }

            m_SceneView.BeginWindows();
        }
示例#2
0
        public void Begin()
        {
            if (!m_SceneView.m_ShowSceneViewWindows)
            {
                return;
            }

            if (Event.current.type == EventType.Layout)
            {
                m_Windows.Clear();
            }

            m_SceneView.BeginWindows();
        }
        public void Begin()
        {
            if (Event.current.type == EventType.Layout)
            {
                s_Windows.Clear();
            }

            if (m_TitleStyle == null)
            {
                m_TitleStyle             = new GUIStyle(GUI.skin.window);
                m_TitleStyle.padding.top = m_TitleStyle.padding.bottom;
            }

            m_SceneView.BeginWindows();
        }