Files
Cielonos/Assets/Opsive/BehaviorDesigner/Add-Ons/CielonosPack/Actions/AutomataActionBase.cs

25 lines
777 B
C#
Raw Normal View History

2025-12-08 05:27:53 -05:00
using Opsive.BehaviorDesigner.Runtime;
using Opsive.BehaviorDesigner.Runtime.Tasks.Actions;
2026-03-20 12:07:44 -04:00
using Opsive.BehaviorDesigner.Runtime.Tasks.Conditionals;
2025-12-08 05:27:53 -05:00
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;
2026-03-20 12:07:44 -04:00
protected BehaviorSubcontroller behaviorSc;
protected BehaviorTree mainBehaviorTree;
2025-12-08 05:27:53 -05:00
public override void OnAwake()
{
self = gameObject.GetComponent<Automata>();
2026-03-20 12:07:44 -04:00
behaviorSc = self.behaviorSc;
mainBehaviorTree = behaviorSc.mainBehaviorTree;
2025-12-08 05:27:53 -05:00
}
}
}