A package for Unity that is designed to greatly simplify user interface development.
Warning
The package is currently in an early stage of development, so some methods and concepts may change over time. Use at your own risk.
I am also developing this package primarily for personal use.
- State Machine: This is an animator replacement focused on switching between visual states of UI elements, such as buttons.
- Flex components: an analogue of CSS Flex in web design. Automatically places elements in a container, you can specify Grow, Shrink, Basis for each element
-
Add the
State Machine
component to the interface element. -
In the inspector, add and configure the needed transitions. You can choose from the built-in ones or create your own, as described below.
-
Add the needed states and set their values, for example, for a button it can be "normal", "hover", and "pressed".