void OnGUI() { if (m_server == null) { return; } MeshSyncServerEditor.DrawMaterialList(m_server); }
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(); }