示例#1
0
        void OnGUI()
        {
            if (m_server == null)
            {
                return;
            }

            MeshSyncServerEditor.DrawMaterialList(m_server);
        }
示例#2
0
        void OnGUI()
        {
            if (m_server == null)
            {
                return;
            }

            var pos = position;

            m_scrollPos = EditorGUILayout.BeginScrollView(m_scrollPos, GUILayout.Width(pos.width), GUILayout.Height(pos.height));
            MeshSyncServerEditor.DrawMaterialList(m_server, false);
            EditorGUILayout.EndScrollView();
        }