Files
Cielonos/Assets/Scripts/MainGame/Characters/Automata/AI/Actions/AutomataActionBase.cs
SoulliesOfficial f26f9fd374 爆更
2026-03-20 12:07:44 -04:00

25 lines
777 B
C#

using Opsive.BehaviorDesigner.Runtime;
using Opsive.BehaviorDesigner.Runtime.Tasks.Actions;
using Opsive.BehaviorDesigner.Runtime.Tasks.Conditionals;
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 BehaviorSubcontroller behaviorSc;
protected BehaviorTree mainBehaviorTree;
public override void OnAwake()
{
self = gameObject.GetComponent<Automata>();
behaviorSc = self.behaviorSc;
mainBehaviorTree = behaviorSc.mainBehaviorTree;
}
}
}