TGP StateFramework – Flexible, Hierarchical State Management for Unity
TGP StateFramework is a modular and generic state system for Unity that supports both numeric and text-based state implementations. Designed for developers who need structured and scalable logic systems, it’s ideal for menus, gameplay mechanics, AI behavior, and more.
With TGP StateFramework, you create clean, maintainable, and modular state logic – generic, extendable, and Unity-ready
Key Features:
- Numeric & Text-Based States
Supports both numeric values and string-based identifiers – allowing flexible and intuitive state definitions. - Hierarchical State System
Easily define nested states using parent-child relationships. Perfect for UI navigation, layered game states, or complex AI logic. - Generic Base Architecture
Built with generic types, the framework can be used with any type that implementsIStructuralEquatable
. - Highly Extendable
Thanks to its modular design, you can plug in your own state types, transition logic, and triggers without modifying the core system. - Menu-Friendly
Especially suited for UI logic – effortlessly handle transitions like „MainMenu“, „Settings“, „Pause“, or „InGame“. - Seamless Integration
Designed to drop into existing or new Unity projects, with clear interfaces, debugging tools, and optional editor support.
Use Case Examples:
- UI menus and navigation flow
- Character or AI state logic
- Scene or game mode transitions
- Quest and dialogue systems
- Progress and status tracking