
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!
21 lines
482 B
C#
21 lines
482 B
C#
using UnityEngine;
|
|
|
|
namespace UnityEditor.ShaderGraph
|
|
{
|
|
sealed partial class GraphData : ISerializationCallbackReceiver
|
|
{
|
|
public static class GraphSetup
|
|
{
|
|
public static void SetupNode(AbstractMaterialNode node)
|
|
{
|
|
node.Setup();
|
|
}
|
|
|
|
public static void SetupGraph(GraphData graph)
|
|
{
|
|
GraphDataUtils.ApplyActionLeafFirst(graph, SetupNode);
|
|
}
|
|
}
|
|
}
|
|
}
|