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