Class ColorInspector
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[Inspector(typeof(Color))]
public class ColorInspector : Inspector, IDisposable
Constructors
ColorInspector(Metadata)
Declaration
public ColorInspector(Metadata metadata)
Parameters
Type | Name | Description |
---|---|---|
Metadata | metadata |
Methods
GetHeight(Single, GUIContent)
Declaration
protected override float GetHeight(float width, GUIContent label)
Parameters
Type | Name | Description |
---|---|---|
Single | width | |
GUIContent | label |
Returns
Type | Description |
---|---|
Single |
Overrides
OnGUI(Rect, GUIContent)
Declaration
protected override void OnGUI(Rect position, GUIContent label)
Parameters
Type | Name | Description |
---|---|---|
Rect | position | |
GUIContent | label |