Documentation

Unity Spark

Open Unity Spark

Unity Spark

Introduction to tweaks

Understand what tweaks are, which control types they support, and how changes made with tweaks during Play mode are saved.
Read time 2 minutesLast updated 3 hours ago

Tweaks are custom controls that the assistant creates for your project, such as a slider for jump height, a toggle for movement timing, or a color picker for the sky. You can manage these controls in the Tweaks window and pin them to adjust values during Play mode without prompting the assistant.

Tweak requests and suggestions

The assistant creates tweaks when you ask for them in the Chat window. If you enter a general request, such as
show me some tweaks
, the assistant suggests options for you to choose from. The assistant might also suggest a tweak automatically if you repeatedly adjust the same value.

Tweak control types

Tweaks can include the following control types, and each control saves the values you set:
  • Sliders and range sliders
  • Number fields, text fields, and vector fields
  • Color pickers
  • Checkboxes and toggles
  • Dropdown menus and buttons
The Unity Spark Tweaks window with a slider named Jump Height and a toggle named Auto Attack.

The Tweaks window.

Tweaks in Play mode

You can play the game yourself with the Scene view expanded to fill the workspace, for example, in full screen. In that layout, Unity Spark hides the docked windows and displays your pinned tweaks in a floating Tweaks window. Unpinned tweaks don't appear in the floating window, and if no tweaks are pinned, the floating window doesn't appear. By default, Unity Spark pins no tweaks. To close the floating window for the rest of a Play mode session without unpinning anything, select Hide tweaks.
If the Scene view stays docked, the Tweaks window stays where it is, and you can adjust all your tweaks there. When the assistant runs an automated playtest, the floating window doesn't appear.

Keep Play mode changes

Changes made during Play mode behave differently depending on what you modify:
  • Objects and components: Changes to properties such as speed or jump height apply only to the active Play mode session and revert when you exit Play mode.
  • Sky and lighting: Changes apply to the running game, but Unity Spark discards them when you exit Play mode. To keep the values, apply them again after you exit Play mode.
  • Materials: Whether a change is kept depends on the material. To be sure a change is kept, make it outside Play mode.

Additional resources