Rasagar/Library/PackageCache/com.unity.visualscripting/Runtime/VisualScripting.State/StateGraphAsset.cs

22 lines
654 B
C#
Raw Normal View History

2024-08-26 13:07:20 -07:00
using UnityEngine;
namespace Unity.VisualScripting
{
[TypeIcon(typeof(StateGraph))]
[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-graphs-intro.html")]
public sealed class StateGraphAsset : Macro<StateGraph>
{
[ContextMenu("Show Data...")]
protected override void ShowData()
{
base.ShowData();
}
public override StateGraph DefaultGraph()
{
return StateGraph.WithStart();
}
}
}