Class FlowMachine
Inheritance
FlowMachine
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: Unity.VisualScripting
Syntax
[AddComponentMenu("Visual Scripting/Script Machine")]
[RequireComponent(typeof(Variables))]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.visualscripting@latest/index.html?subfolder=/manual/vs-graphs-machines-macros.html")]
public sealed class FlowMachine : EventMachine<FlowGraph, ScriptGraphAsset>, ISerializationCallbackReceiver, IEventMachine, IMachine, IGraphRoot, IGraphNester, IGraphParent, IAotStubbable
Methods
DefaultGraph()
Declaration
public override FlowGraph DefaultGraph()
Returns
Type | Description |
---|---|
FlowGraph |
Overrides
Unity.VisualScripting.Machine<Unity.VisualScripting.FlowGraph, Unity.VisualScripting.ScriptGraphAsset>.DefaultGraph()
OnDisable()
Declaration
protected override void OnDisable()
Overrides
Unity.VisualScripting.EventMachine<Unity.VisualScripting.FlowGraph, Unity.VisualScripting.ScriptGraphAsset>.OnDisable()
OnEnable()
Declaration
protected override void OnEnable()
Overrides
Unity.VisualScripting.EventMachine<Unity.VisualScripting.FlowGraph, Unity.VisualScripting.ScriptGraphAsset>.OnEnable()
OnInstantiateWhileEnabled()
Declaration
protected override void OnInstantiateWhileEnabled()
Overrides
Unity.VisualScripting.EventMachine<Unity.VisualScripting.FlowGraph, Unity.VisualScripting.ScriptGraphAsset>.OnInstantiateWhileEnabled()
OnUninstantiateWhileEnabled()
Declaration
protected override void OnUninstantiateWhileEnabled()
Overrides
Unity.VisualScripting.EventMachine<Unity.VisualScripting.FlowGraph, Unity.VisualScripting.ScriptGraphAsset>.OnUninstantiateWhileEnabled()
ShowData()
Declaration
[ContextMenu("Show Data...")]
protected override void ShowData()