Files
Cielonos/Assets/Scripts/MainGame/Characters/Automata/AI/Behaviors/AutomataActionBase.cs
SoulliesOfficial f7af60351b 阶段性完成
2025-12-08 05:27:53 -05:00

22 lines
607 B
C#

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;
}
}
}