Nessuna descrizione
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

GraphSetup.cs 482B

1234567891011121314151617181920
  1. using UnityEngine;
  2. namespace UnityEditor.ShaderGraph
  3. {
  4. sealed partial class GraphData : ISerializationCallbackReceiver
  5. {
  6. public static class GraphSetup
  7. {
  8. public static void SetupNode(AbstractMaterialNode node)
  9. {
  10. node.Setup();
  11. }
  12. public static void SetupGraph(GraphData graph)
  13. {
  14. GraphDataUtils.ApplyActionLeafFirst(graph, SetupNode);
  15. }
  16. }
  17. }
  18. }