ccfoo242 / unity-ui-toolkit-demos

A collection of things I've learned while building a game UI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unity-ui-toolkit-demos

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

About

A collection of things I've learned while building a game UI

License:MIT License


Languages

Language:C# 100.0%