20 lines
361 B
C#
Raw Normal View History

2026-01-07 12:00:57 +05:30
using System.Collections;
using System.Collections.Generic;
using Unity.VisualScripting;
using UnityEngine;
public class AIController : MonoBehaviour
{
private BaseState currentState;
private void Start()
{
currentState = new IdleState();
}
private void Update()
{
currentState = currentState.ProcessStates();
}
}