No Description
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.

StateGraphAsset.cs 654B

123456789101112131415161718192021
  1. using UnityEngine;
  2. namespace Unity.VisualScripting
  3. {
  4. [TypeIcon(typeof(StateGraph))]
  5. [CreateAssetMenu(menuName = "Visual Scripting/State Graph", fileName = "New State Graph", order = 81)]
  6. [HelpURL("https://docs.unity3d.com/Packages/com.unity.visualscripting@latest/index.html?subfolder=/manual/vs-state-graphs-intro.html")]
  7. public sealed class StateGraphAsset : Macro<StateGraph>
  8. {
  9. [ContextMenu("Show Data...")]
  10. protected override void ShowData()
  11. {
  12. base.ShowData();
  13. }
  14. public override StateGraph DefaultGraph()
  15. {
  16. return StateGraph.WithStart();
  17. }
  18. }
  19. }