A collection of things I've learned while building a game UI
Built with Unity 2021.3.2
Subjects that each control includes
-
MySpecialButton
- create a custom element with uxml template
- include custom options (enum and int) in the element's inspector that can be changed
- allow for child elements to be added
- simple rotation animation
- react to button click event
-
MessageBox
- insert uxml template into existing ui document
- custum action event
- absolute positioning