Example #1
0
 public ShaderHeader(MaterialProperty prop, MaterialEditor materialEditor, string displayName, int xOffset, PropertyOptions options) : base(xOffset, displayName, options)
 {
     this.guiElement = new ThryEditorHeader(materialEditor, prop.name);
 }
Example #2
0
 public ShaderHeader(MaterialProperty prop, MaterialEditor materialEditor, string displayName, int xOffset, string onHover, string altClick) : base(xOffset, onHover, altClick)
 {
     this.guiElement = new ThryEditorHeader(materialEditor, prop.name);
     this.content    = new GUIContent(displayName, onHover);
 }