
HSM State Framework is a modular and generic state system that comes with both numeric and text-based state implementations. Designed for developers who need structured and scalable logic systems.Hierarchical State Framework is a modular, scalable, and highly extendable state management system designed for structured and dynamic logic flows.It supports both numeric and text-based state definitions, making it flexible for a wide range of applications such as menu systems, gameplay mechanics, UI navigation, and more. Thanks to its generic base implementation, developers can easily build upon and customize the framework to fit project-specific requirements, enabling clean separation of logic, better code reuse, and maintainable architecture in both small and large systems.Key FeaturesNumeric & Text-Based StatesSupports both numeric values and string-based identifiers – allowing flexible and intuitive state definitions.Hierarchical State SystemEasily define nested states using parent-child relationships. Perfect for UI navigation, layered game statesGeneric Base ArchitectureBuilt with generic types, the framework can be used with any type that implements IStructuralEquatable.Highly ExtendableThanks to its modular design, you can plug in your own state types, transition logic, and triggers without modifying the core system.Menu-FriendlyEspecially suited for UI logic – effortlessly handle transitions like „MainMenu“, „Settings“, „Pause“, or „InGame“.Seamless IntegrationDesigned to drop into existing or new Unity projects, with clear interfaces, debugging tools, and optional editor support.used Github Copilot for code and chatGpt for text and documentation