liveBook · Manning

Tool time

As explained in High Performance Unity Game Development

The development or preparation phase in which game data is created, processed, or validated before runtime.

Tool time is the development phase for editing, validating, and preparing game data before runtime. Separating balance data from runtime assets can make it easier for designers to change and test game rules. section 9.0

Validate balance data before parsing it at runtime: checks for missing or incorrect values can then be omitted from gameplay code, reducing complexity and runtime work. Keep tool-time code separate from runtime code to avoid adding unnecessary libraries to the build or accidentally calling preparation functions during play. section 9.0 section 9.3

Common uses include:

  • Store balance data in an external asset, so designers can edit rules independently of the Unity scene and update them more readily. section 9.0
  • Assign IDs or indices to data before runtime, then use arrays instead of repeated dictionary lookups during gameplay. section 10.7 section 10.8
  • Track balance versions so gameplay changes can be identified when reproducing player issues. section 9.3

Move a check out of gameplay

Validate that a balance value is greater than zero at tool time. Because the data has been checked, runtime code can rely on it instead of repeating the branch check during play. section 9.0

How High Performance Unity Game Development covers it

How deep it goes
Explains validation, code separation, and index preparation, but does not detail a general tool-time pipeline.
Examples
Uses a positive-value validation check, enemy IDs for array access, and Unity balance-file loading.
What you can do after
Apply it by validating balance data before runtime and assigning indices for array-based access.
How it connects
Connects balance data and runtime loading with data-oriented design, arrays, and dictionaries.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of High Performance Unity Game Development. The section links point to the parts of the book it draws on.