Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using Ludiq;
- using Bolt;
- [IncludeInSettings(true)]
- public static class XStateMachine
- {
- public static void InstantiateMachine(GameObject target, StateMacro macro)
- {
- target.AddComponent<StateMachine>().nest.SwitchToMacro(macro);
- }
- }
- [IncludeInSettings(true)]
- public static class XFlowMachine
- {
- public static void InstantiateMachine(GameObject target, FlowMacro macro)
- {
- target.AddComponent<FlowMachine>().nest.SwitchToMacro(macro);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement