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

23 lines
681 B
C#

using Opsive.BehaviorDesigner.Runtime;
using Opsive.BehaviorDesigner.Runtime.Tasks.Conditionals;
using Opsive.Shared.Utility;
using UnityEngine;
namespace Cielonos.MainGame.Characters.AI
{
[Category("Cielonos")]
public abstract class AutomataConditionalBase : Conditional
{
[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;
}
}
}