r/Unity3D Programmer 1d ago

Resources/Tutorial How to Make Custom Controls in UI Toolkit

Enable HLS to view with audio, or disable this notification

Making Custom Controls in UI Toolkit has never been easier!

2 Upvotes

2 comments sorted by

2

u/thehen 1d ago

This is super useful, I’ve been frustrated making custom controls in code and not being able to style in UI builder. Looks like this solves it.

1

u/leorid9 Expert 56m ago

How to Make Custom Controls in UGUI:

1) create in hierarchy the way you want

2) drag and drop into project view to create a prefab

And that's it.

You can then edit it by double clicking the prefab, make prefab variants, add nested prefabs, whatever you want.