public ShaderHeader(MaterialProperty prop, MaterialEditor materialEditor, string displayName, int xOffset, PropertyOptions options) : base(xOffset, displayName, options) { this.guiElement = new ThryEditorHeader(materialEditor, prop.name); }
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); }