protected override void Awake() { base.Awake(); m_Executor = new AIExecutor(this); m_Collector = new AICollector(this); m_Decider = new AIDecider(this); }
protected override void Awake() { base.Awake(); m_Executor = new AIExecutor(this); m_Collector = new AICollector(this); m_Decider = new AIDecider(this); }
public override void OnInspectorGUI() { DrawDefaultInspector(); AIExecutor executor = target as AIExecutor; GUILayout.Label(executor.Log?.ToString()); if (executor.asset != null) { if (GUILayout.Button("View Log")) { BehaviourTreeEditor.OpenFile(executor.asset.sourceFileName, executor.Log); } } }