Class ComponentGroupGUI
Inheritance
System.Object
ComponentGroupGUI
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Unity.Entities.Editor
Syntax
public static class ComponentGroupGUI
Methods
CalculateDrawingParts(ComponentType[], Single, out Single, out List<GUIStyle>, out List<GUIContent>, out List<Rect>)
Declaration
public static void CalculateDrawingParts(ComponentType[] types, float width, out float height, out List<GUIStyle> styles, out List<GUIContent> names, out List<Rect> rects)
Parameters
Type | Name | Description |
---|---|---|
ComponentType[] | types | |
System.Single | width | |
System.Single | height | |
List<GUIStyle> | styles | |
List<GUIContent> | names | |
List<Rect> | rects |
ComponentListGUILayout(ComponentType[], Single)
Declaration
public static void ComponentListGUILayout(ComponentType[] types, float width)
Parameters
Type | Name | Description |
---|---|---|
ComponentType[] | types | |
System.Single | width |
DrawComponentList(Rect, List<GUIStyle>, List<GUIContent>, List<Rect>)
Declaration
public static void DrawComponentList(Rect wholeRect, List<GUIStyle> styles, List<GUIContent> names, List<Rect> rects)
Parameters
Type | Name | Description |
---|---|---|
Rect | wholeRect | |
List<GUIStyle> | styles | |
List<GUIContent> | names | |
List<Rect> | rects |
SpecifiedTypeName(Type)
Declaration
public static string SpecifiedTypeName(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type |
Returns
Type | Description |
---|---|
System.String |