Click or drag to resize
EditorGUIUtilsShaderField Method
Draws an inspector for the specified shader.

Namespace: Slash.Unity.Editor.Common.Inspectors.Utils
Assembly: Slash.Unity.Editor.Common (in Slash.Unity.Editor.Common.dll) Version: 0.0.0.0
Syntax
public static string ShaderField(
	ShaderContext shaderContext,
	string label
)

Parameters

shaderContext
Type: Slash.Unity.Editor.Common.Inspectors.UtilsShaderContext
Shader to draw the inspector for.
label
Type: SystemString
Text to show next to the shader editor.

Return Value

Type: String
New selected shader name.
See Also