//////////////////////////////////// // Drawing Functions // //////////////////////////////////// #region DrawingFunctions internal void DrawShaderGraphProperties(Material material, IEnumerable <MaterialProperty> properties) { if (properties == null) { return; } ShaderGraphPropertyDrawers.DrawShaderGraphGUI(materialEditor, properties); }
static void DrawShaderGraphProperties(MaterialEditor materialEditor, Material material, MaterialProperty[] properties) { if (properties == null) { return; } ShaderGraphPropertyDrawers.DrawShaderGraphGUI(materialEditor, properties); }
/// <summary> /// Draws the material properties. /// </summary> /// <param name="properties">List of Material Properties to draw</param> protected void PropertiesDefaultGUI(MaterialProperty[] properties) { ShaderGraphPropertyDrawers.DrawShaderGraphGUI(materialEditor, properties); }
public override void OnGUI(MaterialEditor materialEditor, MaterialProperty[] props) { ShaderGraphPropertyDrawers.DrawShaderGraphGUI(materialEditor, props); }