In-game AI
UnityHFSM
By Inspiaaa
Organize Unity character and AI logic with hierarchical state machines; useful for weapon reload/cooldown flow and nested enemy states.
Install https://github.com/Inspiaaa/UnityHFSM.git#upm through UPM. Create a StateMachine, add states and transitions such as Idle/Attack/Reload, initialize it and call OnLogic from your update loop. The result is C# state logic. It is not a MonoBehaviour, so the caller must drive updates. MIT licensed.
GameSlash reviewed the developer documentation but has not installed or runtime-tested this tool.