Files
Cielonos/Assets/Scripts/MainGame/Characters/Automata/AI/Behaviors/AutomataActionBase.cs

22 lines
607 B
C#
Raw Normal View History

2025-12-08 05:27:53 -05:00
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<Automata>();
behaviorTree = self.behaviorTree;
}
}
}