 | EditorGUIUtilsShaderField Method |
Draws an inspector for the specified shader.
Namespace: Slash.Unity.Editor.Common.Inspectors.UtilsAssembly: Slash.Unity.Editor.Common (in Slash.Unity.Editor.Common.dll) Version: 0.0.0.0
Syntaxpublic static string ShaderField(
ShaderContext shaderContext,
string label
)
Public Shared Function ShaderField (
shaderContext As ShaderContext,
label As String
) As String
public:
static String^ ShaderField(
ShaderContext^ shaderContext,
String^ label
)
static member ShaderField :
shaderContext : ShaderContext *
label : string -> string
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:
StringNew selected shader name.
See Also