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 EntityQueryList() { if (SystemSelection != null) { entityQueryListView.SetWidth(CurrentEntityViewWidth); var height = Mathf.Min(entityQueryListView.Height + Styles.BoxStyle.padding.vertical, position.height * 0.5f); GUILayout.BeginVertical(Styles.BoxStyle, GUILayout.Height(height)); entityQueryListView.OnGUI(GUIHelpers.GetExpandingRect()); GUILayout.EndVertical(); } else if (WorldSelection != null) { GUILayout.BeginVertical(); filterUI.OnGUI(entityListView.EntityCount); GUILayout.EndVertical(); } }
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(); } }