21 lines
611 B
C#
21 lines
611 B
C#
|
using UnityEngine;
|
||
|
|
||
|
namespace Unity.VisualScripting
|
||
|
{
|
||
|
[CreateAssetMenu(menuName = "Visual Scripting/Script Graph", fileName = "New Script Graph", order = 81)]
|
||
|
[HelpURL("https://docs.unity3d.com/Packages/com.unity.visualscripting@latest/index.html?subfolder=/manual/vs-flow.html")]
|
||
|
public sealed class ScriptGraphAsset : Macro<FlowGraph>
|
||
|
{
|
||
|
[ContextMenu("Show Data...")]
|
||
|
protected override void ShowData()
|
||
|
{
|
||
|
base.ShowData();
|
||
|
}
|
||
|
|
||
|
public override FlowGraph DefaultGraph()
|
||
|
{
|
||
|
return FlowGraph.WithInputOutput();
|
||
|
}
|
||
|
}
|
||
|
}
|