mathe/Library/PackageCache/com.unity.shadergraph@14.0.8/Editor/Data/Graphs/GraphSetup.cs
2024-09-20 20:30:10 +02:00

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);
}
}
}
}