Hey all! Do you ever jump from one task to another, one scene to another… first doing this, then that, basically switching hats, all the time?
And you wished that for each task, the Unity Editor could be customised to look and behave a little bit differently?
Introducing…
Hats - Workspaces and Teams
After the intro, I hope it’s self-explanatory!
Workspaces
Hats enables the concept of workspaces in Unity. You can switch to a workspace at any moment to customise the appearance or the behaviour of the Editor according to the task you are performing.
When switching workspaces you can load an Editor layout, open one or more scenes, hide or lock objects in the open scene, hide specific components, and more (we call them “workspace rules”).
Example: a Workspace rule has disabled all gizmos to highlight the ones for Reflection Probes
Third-party tools can be made to work differently. And you can create custom behaviour as a result of a workspace switch.
Whenever you need to switch, you can use a shortcut, or the handy Switcher UI:
Teams
But that’s not all. If you’re part of a big team and you want to frame members of your team/company into workspaces automatically, you can leverage the concept of Teams. Each Team can be assigned a workspace. As soon as a member of that team starts the Editor, the workspace is activated for them.
They can still switch between their personal workspaces, of course!
The LockFolder rule here used to lock Art, Audio and Samples folders for a certain Team.
Building on Hats
Finally, Hats is also a framework you can build on, very very easily. It’s just a couple of lines to check for which Workspace or Team is active at the moment, and customise your tools or your Inspectors.
Third-party integrations
We are exploring a collaboration with other tools to build dynamic UIs based on Hats. As they become available, this thread will be updated.
For now, an integration with our own BlackBox for Prefabs is in testing, and will be released soon.
Documentation
If you want to learn more before getting Hats, you can browse the documentation website.
Download Hats
You can find Hats on the Asset Store:
PS: Hats is also part of our All Editor Tools bundle. By getting that, you effectively get Hats at 25% off. If instead you already purchased Hats, you get a discount on the bundle.
Hope you enjoy this new release!