unity-fsm

Community

Robust Unity FSM with state and strategy patterns.

AuthorMuharremTozan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill provides a modular, object-oriented finite state machine architecture for Unity to manage complex AI behavior and state transitions with reusable states and clean wiring.

Core Features & Use Cases

  • Object-Oriented: Each state is implemented as its own class.
  • Hybrid States: Support for both full classes and lightweight ActionState-based states.
  • Strategy-Based Transitions: Transitions driven by predicates and detection strategies.
  • Timer Utilities: Includes CountdownTimer and StopwatchTimer for cooldowns and timing.
  • Practical Scenarios: Ideal for enemy AI, player controllers, and any system requiring structured state management.

Quick Start

Create a StateMachine, define your states (inherit from BaseState or use ActionState), wire transitions with predicates, and call Update in your game loop.

Dependency Matrix

Required Modules

None required

Components

assetsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: unity-fsm
Download link: https://github.com/MuharremTozan/Ohm-Yura/archive/main.zip#unity-fsm

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.