Class LabelControl
Represents a label without any property.
Namespace: VRLabs.SimpleShaderInspectors.Controls
Syntax
public class LabelControl : SimpleControl
Remarks
It can be seen ad the Simple Shader Inspectors version of EditorGUILayout.LabelField, with the advantage that it uses Simple Shader Inspectors' localization system for the
label string.
It is required to give an alias to the control, since it doesn't have anything that it could use as a default.
Examples
Example usage:
this.AddLabelControl("AliasToUse");
Constructors
| Name | Description |
|---|---|
| LabelControl(String) | Default constructor of LabelControl. |
Properties
| Name | Description |
|---|---|
| LabelStyle | Style used for the label control. |
Methods
| Name | Description |
|---|---|
| ControlGUI(MaterialEditor) | Draws the control represented by this object. |