
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
17 lines
516 B
C#
17 lines
516 B
C#
using System;
|
|
using UnityEditor.ShaderGraph.Drawing;
|
|
using UnityEngine;
|
|
using UnityEditor;
|
|
|
|
namespace UnityEditor.ShaderGraph
|
|
{
|
|
// Used by the Material Inspector to draw UI for shader graph based materials, when no custom Editor GUI has been specified
|
|
class GenericShaderGraphMaterialGUI : ShaderGUI
|
|
{
|
|
public override void OnGUI(MaterialEditor materialEditor, MaterialProperty[] props)
|
|
{
|
|
ShaderGraphPropertyDrawers.DrawShaderGraphGUI(materialEditor, props);
|
|
}
|
|
}
|
|
}
|