SHADE_Y3/Assets/Scripts/Gameplay/AIBehaviour/AIRework/States/AIBaseState.cs

25 lines
592 B
C#
Raw Permalink Normal View History

2023-03-25 14:51:28 +08:00
using SHADE;
using System;
2023-03-24 13:26:18 +08:00
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SHADE_Scripting.Gameplay.AIBehaviour.AIRework.States
{
public abstract class AIBaseState: BaseState
{
protected HomeOwnerAI ai;
2023-03-25 14:51:28 +08:00
protected Animator animator;
2023-03-24 13:26:18 +08:00
public AIBaseState(StateMachine stateMachine): base(stateMachine, "")
{
stateName = "AI Base State";
ai = stateMachine.GetScript<HomeOwnerAI>();
2023-03-25 14:51:28 +08:00
animator = stateMachine.GetComponent<Animator>();
2023-03-24 13:26:18 +08:00
}
}
}