Skip to content

GameObject Set Data

Write multiple field values to a GameObject Data Component.

Parameters

Parameter Description
Game Object The GameObject that holds the Data Component.
Data Definition The schema used to find or create the matching Data Component.
Add If Missing If enabled, add a Data Component when none exists.
Set Values List of field/value mappings to apply.
Added True when a new component was created.
Succeeded True when values were applied.

⚙ Details

This action can both initialize and update data. It ensures schema alignment before writing values, which helps prevent missing-field issues.

Examples

  • Set enemy stat fields when spawning.
  • Update multiple quest progress values in one action.