This package contains a small set of helpful editor utilities to improve the game development workflow
Via Github This package can be installed in the Unity Package Manager using the following git URL.
https://github.com/hibzzgames/Hibzz.EditorToys.git
Alternatively, you can download the latest release from the releases page and manually import the package into your project.
This package requires the following dependencies. It can be automatically installed using the Hibzz.DependencyResolver package or the following can be manually installed.
The following tools are currently available:
PrintToScreen
is a simple tool that allows users to print a message to the screen for a specified duration. This is very useful for real-time debugging and testing. The tool can be further customized by specifying the color of the text.
using Hibzz.EditorToys;
// print message to the screen
EditorToys.PrintToScreen("Hello World!"); // prints "Hello World!" to the screen for 1 frame
EditorToys.PrintToScreen("Hello World!", 5f); // prints "Hello World!" to the screen for 5 seconds
EditorToys.PrintToScreen("Hello World!", Color.red); // prints "Hello World!" to the screen for 1 frame in red
EditorToys.PrintToScreen("Hello World!", 5f, Color.red); // prints "Hello World!" to the screen for 5 seconds in red
The Release Incrementor prompts the users to increment the version number of the project when creating a new build. With a press of a button, users will be able to increment the patch or minor version number of the project. This tool can be enabled from the Hibzz > Editor Toys > Release Incrementor
menu.
The Scriptable Object Creator allows users to create a new instance of a scriptable object directly by opening the context menu on a script file that inherits from ScriptableObject
. This lets users avoid having to create a unique menu item for each scriptable object type they create reducing the clutter in the Unity Editor and improving the workflow.
Since this package contains a wide variety of tools, it is completely understandable if you don't want to use all of them. The Editor Toys package adds support for disabling tools using scripting define symbols.
This package has tight integration with the Hibzz.DefineManager package which allows users to visually interact with the defines from the Unity Editor. The users can read what each of the scripting define symbols do in a neat interface and enable/disable the tools with a click of a button.
The following symbols can be used to disable specific tools:
DISABLE_PRINT_TO_SCREEN
DISABLE_RELEASE_INCREMENTOR
DISABLE_SCRIPTABLE_OBJECT_CREATOR
If you have any questions or want to contribute, feel free to join the Discord server or Twitter. I'm always looking for feedback and ways to improve this tool. Thanks!
Additionally, you can support the development of these open-source projects via GitHub Sponsors and gain early access to the projects.