Class SpriteShapeEditorGUI
Inheritance
System.Object
SpriteShapeEditorGUI
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: UnityEditor.U2D
Syntax
public class SpriteShapeEditorGUI
Fields
s_FoldoutHash
Declaration
public static int s_FoldoutHash
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
IconContent(String, String)
Declaration
public static GUIContent IconContent(string name, string tooltip = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | |
| System.String | tooltip |
Returns
| Type | Description |
|---|---|
| GUIContent |
MultiDelayedIntField(Rect, GUIContent[], Int32[], Single)
Declaration
public static void MultiDelayedIntField(Rect position, GUIContent[] subLabels, int[] values, float labelWidth)
Parameters
| Type | Name | Description |
|---|---|---|
| Rect | position | |
| GUIContent[] | subLabels | |
| System.Int32[] | values | |
| System.Single | labelWidth |
MultiFieldPrefixLabel(Rect, Int32, GUIContent, Int32)
Declaration
public static Rect MultiFieldPrefixLabel(Rect totalPosition, int id, GUIContent label, int columns)
Parameters
| Type | Name | Description |
|---|---|---|
| Rect | totalPosition | |
| System.Int32 | id | |
| GUIContent | label | |
| System.Int32 | columns |
Returns
| Type | Description |
|---|---|
| Rect |