Class PropertyDrawerUtils
Inherited Members
Namespace: UnityEditor.ShaderGraph.Drawing.Inspector
Assembly: Unity.ShaderGraph.Editor.dll
Syntax
public static class PropertyDrawerUtils
Methods
CreateLabel(string, int)
Declaration
public static Label CreateLabel(string text, int indentLevel = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | |
| int | indentLevel |
Returns
| Type | Description |
|---|---|
| Label |
CreateLabel(string, int, FontStyle)
Declaration
public static Label CreateLabel(string text, int indentLevel = 0, FontStyle fontStyle = FontStyle.Normal)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | |
| int | indentLevel | |
| FontStyle | fontStyle |
Returns
| Type | Description |
|---|---|
| Label |