~/talk

How To Stop Writing View-Classes for Unity UI

Talkat JetBrains GameDev Day 2023 · on Friday, 2023-10-13· [game-development]
slides:none on file

Library that attaches a stateful component to a prefab root and generates named roles, containers and nested internal components so code uses one reference instead of many serialized fields. It reduces view-class code, generates copy API and markdown docs, previews animations in edit-mode animation preview, and organizes up to ~50 states into a state tree. Available as a Unity package on GitHub, it returns state application duration (longest animation) and is used in production.

AI-written summary · about

  1. 0:00Introduction to the speaker and topic
  2. 1:08Scope of the conversation on Unity UI architectures
  3. 2:36Flaws in traditional view-class implementations
  4. 5:03Performance issues with animator-based UI solutions
  5. 7:30Limitations of animation component approaches
  6. 8:35Challenges with data binding in Unity UI
  7. 10:24Introducing stateful UI and its origins
  8. 12:58Markup and element references in stateful components
  9. 14:43Localization support in stateful UI
  10. 16:09Reusing internal components with stateful UI
  11. 17:15Dynamic content with container views
  12. 19:21Defining and managing UI states
  13. 21:55State descriptions and supported operations
  14. 24:23Customizing animations and canvas groups via states
  15. 25:51Animator support and state nesting
  16. 26:59Reusing prefabs with stateful components
  17. 28:43Initial states and reset behavior
  18. 30:28Managing complex state dependencies with state trees
  19. 34:25API and documentation generation features
  20. 35:50Benefits of stateful UI for teams and workflows
  21. 37:16Future roadmap and additional features
  22. 38:20Q&A: Adding stateful UI to existing projects
  23. 40:54Q&A: Reducing UI implementation time
  24. 42:19Q&A: Non-developers and state configuration
  25. 43:00Q&A: Managing state transitions and durations
  26. 44:27Q&A: Object pooling in container views
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.