void EntityList() { if (HasWorld()) { GUILayout.BeginVertical(Styles.BoxStyle); entityListView.OnGUI(GUIHelpers.GetExpandingRect()); GUILayout.EndVertical(); } }
void EntityList() { var showingAllEntities = !(SystemSelection is ComponentSystemBase); var componentGroupHasEntities = ComponentGroupSelection != null && !ComponentGroupSelection.IsEmptyIgnoreFilter; var somethingToShow = showingAllEntities || componentGroupHasEntities; if (WorldSelection == null || !somethingToShow) { return; } entityListView.OnGUI(GUIHelpers.GetExpandingRect()); }
void EntityList() { GUILayout.BeginVertical(Box); entityListView.OnGUI(GUIHelpers.GetExpandingRect()); GUILayout.EndVertical(); }