Introduction to custom tools
Understand what custom tools are, how they work in shared projects, and when to use a custom tool instead of a tweak.
Read time 2 minutesLast updated 3 hours ago
If you repeat the same task by hand, ask the assistant to create a custom tool for it. For example, a custom tool can respawn the player, check each enemy's health, or track the tasks left in a level. A custom tool has its own buttons, lists, and controls made for your project. It usually opens as a window that you can dock anywhere in the workspace, like any other window.
Custom tool controls
Custom tools can include the following controls:
- Buttons
- Sliders and range sliders
- Number fields, text fields, and vector fields
- Color pickers
- Checkboxes and toggles
- Dropdowns
- Lists made from these controls
A custom tool can remember its values between sessions.
Keep player features in your game UI
Custom tools help you create and test your game. They aren't part of your published game, so add anything players need, such as a score or a pause button, to your game's UI instead. For more information, refer to Game UI.
Custom tools in shared projects
Unity Spark saves custom tools in your project, so everyone who works on the project can use them. If two people change a tool's saved value at the same time, Unity Spark keeps the last change.
The tools you open, and where you dock them, affect only your workspace. Unity Spark stores your window arrangement for each project in your browser, so each collaborator can open and arrange the same tools differently. For more information about shared projects, refer to Real-time collaboration.
Choose between a custom tool and a tweak
The assistant creates both custom tools and tweaks for your project. Use the following table to choose which one to ask for.
Comparison | Custom tool | Tweak |
|---|---|---|
| What it is | A window for a specific task. | A few controls for values you tune often. |
| Use it for | Lists, dashboards, and actions you repeat. | Tuning a number, color, animation speed, or sound effect timing. |
| Where it is | Its own window, anywhere in the workspace. | The Tweaks window, or, if you pin the tweak, a floating window in Play mode. |
| Example | | |
For more information about tweaks, refer to Tweaks.