This package adds buttons to enable/disable gameobjects directly from the hierarchy.
In the preferences the package can be customized and disabled individually per user
(Edit › Preferences… › Hierarchy › Active Toggle).
(Probably also works in other unity versions. I just have only tested it in 2022.3)
Installation by using the Package Manager:
-
Click on the
+
in thePackage Manager
window -
Chose
Add package from git URL…
-
Insert the following URL
https://github.com/JonasWischeropp/unity_hierarchy_active_toggle.git
-
Press the
Add
-Button
If necessary more information can be found here.