Esempio n. 1
0
 protected override void OnGUISafe(Rect position, MaterialProperty prop, string label, MaterialEditor editor)
 {
     position      = EditorGUI.IndentedRect(position);
     position.yMin = position.yMax - EditorGUIUtility.singleLineHeight;
     ToolboxEditorGui.BoldLabel(position, header);
     position.yMin = position.yMax - EditorGUIUtility.standardVerticalSpacing;
     ToolboxEditorGui.DrawLine(position, padding: 0);
 }