UnityEditor.MaterialHeaderDecorator.OnGUI C# (CSharp) Method

OnGUI() public method

public OnGUI ( Rect position, MaterialProperty prop, string label, MaterialEditor editor ) : void
position UnityEngine.Rect
prop MaterialProperty
label string
editor MaterialEditor
return void
        public override void OnGUI(Rect position, MaterialProperty prop, string label, MaterialEditor editor)
        {
            position.y += 8f;
            position = EditorGUI.IndentedRect(position);
            GUI.Label(position, this.header, EditorStyles.boldLabel);
        }
    }