using Opsive.BehaviorDesigner.Runtime; using Opsive.BehaviorDesigner.Runtime.Tasks.Actions; using Opsive.GraphDesigner.Runtime.Variables; using Opsive.Shared.Utility; using UnityEngine; namespace Cielonos.MainGame.Characters.AI { [Category("Cielonos")] public abstract class AutomataActionBase : Action { [Header("Main Settings")] protected Automata self; protected BehaviorTree behaviorTree; public override void OnAwake() { self = gameObject.GetComponent(); behaviorTree = self.behaviorTree; } } }