tools-unity-state-machine

Community

Orchestrate Unity state flows with robust states

Authortjboudreaux
Version1.0.0
Installs0

System Documentation

What problem does it solve?

State machines manage game flow, UI navigation, and entity behavior in Unity, enabling safe, scalable transitions and cleanups.

Core Features & Use Cases

  • IState and IStateTransitionData contracts for typed state parameters
  • StateNavigationController for sequential and additive transitions
  • ActivityState pattern for modular, disposable states
  • HierarchicalStateMachine for nested states and smooth transitions
  • Guarded transitions and transition actions for robust flows
  • Safe disposal and cancellation handling to prevent leaks

Quick Start

Define IState and IStateTransitionData interfaces, implement a StateNavigationController to manage transitions, and wire concrete states to drive game flow and UI navigation.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: tools-unity-state-machine
Download link: https://github.com/tjboudreaux/cc-plugin-unity-gamedev/archive/main.zip#tools-unity-state-machine

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 510,000+ vetted skills library on demand.