{"repo":"bazyleu/UniState","free":true,"listed":false,"github":"https://github.com/bazyleu/UniState","clone":"git clone https://github.com/bazyleu/UniState.git","description":"UniState is a modern, high-performance, scalable state machine package for Unity.","language":"C#","stars":249,"topics":["asynchronous-programming","game-architecture","game-development","scalable-architecture","state-machine","state-pattern","unity","unity-package","unity2d","unity3d"],"license":"MIT","category":"game-templates","readme_excerpt":"UniState UniState is a modern, high-performance, scalable state machine package for Unity. It can serve as a core architectural pattern or be used to address specific tasks. Performance : optimized for minimal runtime allocations, see performance section for details. Modularity : designed to define states, substates, and state machines in an isolated way. States can be easily replaced or removed without hidden effects even in big projects. Scalability : memory allocations happen only on demand, performance does not degrade with the number of states and state machines. Asynchronous : modern asynchronous API with async-await and UniTask Reliability : allows you to define global error handling at the state machine level, and guarantees that all resources will be disposed. Simplicity : if you use state base you have to implement only one method for fast start. Flexibility : everything in framework core is an abstraction. Can be replaced with your own implementation, see state creating and creating a state machine sections for details. Testability : UniState is designed to be testable. All abstractions use interfaces that can be easily mocked with NSubstitute or any other framework. States can be run separately for testing purposes. AI development friendly : explicit state classes, typed payloads and transitions, and DI registrations give coding assistants stable architectural boundaries to follow. The mobile game architecture guide provides practical patterns for implementing com","default_branch":null,"files":null,"tree":[],"storefront":"/r/bazyleu","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bazyleu/UniState/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}