using System.Collections; using System.Collections.Generic; using UnityEngine; public class Example06 : MonoBehaviour { public BehaviorTreeSlayer.BehaviorTree BTree; public void OnEvent() { BTree.Dispatch("EvtNext", BTree); } }