UnityGame/Library/PackageCache/com.unity.shadergraph/Editor/Data/Graphs/GraphSetup.cs

21 lines
482 B
C#
Raw Normal View History

2024-10-27 10:53:47 +03:00
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);
}
}
}
}