First commit

This commit is contained in:
Misaki
2024-11-02 17:58:52 +09:00
commit e645a5327b
153 changed files with 3729 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
using UnityEngine;
namespace Misaki.GraphView.Sample
{
[CreateAssetMenu(fileName = "GraphAsset", menuName = "Scriptable Objects/GraphAsset")]
public class SampleGraphAsset : GraphObject
{
public override void Execute()
{
Nodes.ClearAllExecuteFlag();
foreach (var node in Nodes)
{
if (node is OutputNode outputNode)
{
outputNode.Execute();
}
}
}
}
}