Start AI COntroller

This commit is contained in:
Caleb Sandford deQuincey
2025-10-28 17:26:07 +00:00
parent bc21e94bc1
commit 1972134c81
724 changed files with 579740 additions and 2918 deletions

View File

@@ -0,0 +1,18 @@
using UnityEngine;
namespace RPG.Core
{
public class ActionScheduler : MonoBehaviour
{
IAction currentAction;
public void StartAction(IAction action)
{
if (currentAction == action) return;
if (currentAction != null)
{
currentAction.Cancel();
}
currentAction = action;
}
}
}