void ComponentGroupList() { if (SystemSelection is ComponentSystemBase) { GUILayout.BeginVertical(Box, GUILayout.Height(componentGroupListView.Height + 4f)); componentGroupListView.OnGUI(GUIHelpers.GetExpandingRect()); GUILayout.EndVertical(); } }
void ComponentGroupList() { if (SystemSelection is ComponentSystemBase) { GUILayout.BeginVertical(Box, GUILayout.Height(componentGroupListView.Height + Box.padding.bottom + Box.padding.top)); componentGroupListView.OnGUI(GUIHelpers.GetExpandingRect()); GUILayout.EndVertical(); } else if (WorldSelection != null) { filterUI.OnGUI(); } }
private void ComponentGroupList() { if (SystemSelection is ComponentSystemBase) { GUILayout.BeginVertical(Box, GUILayout.Height(componentGroupListView.Height + Box.padding.bottom + Box.padding.top)); componentGroupListView.OnGUI(GUIHelpers.GetExpandingRect()); GUILayout.EndVertical(); } else if (WorldSelection != null) { GUILayout.BeginHorizontal(); filterUI.OnGUI(); GUILayout.FlexibleSpace(); GUILayout.Label(entityListView.EntityCount.ToString()); GUILayout.EndHorizontal(); } }
private void ComponentGroupList() { if (SystemSelection is ComponentSystemBase) { componentGroupListView.SetWidth(CurrentEntityViewWidth); var height = Mathf.Min(componentGroupListView.Height + BoxStyle.padding.vertical, position.height * 0.5f); GUILayout.BeginVertical(BoxStyle, GUILayout.Height(height)); componentGroupListView.OnGUI(GUIHelpers.GetExpandingRect()); GUILayout.EndVertical(); } else if (WorldSelection != null) { GUILayout.BeginHorizontal(); filterUI.OnGUI(); GUILayout.FlexibleSpace(); GUILayout.Label(entityListView.EntityCount.ToString()); GUILayout.EndHorizontal(); } }