GameObject Set Data Field
Write a single field value 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 Value | The field/value mapping to apply. |
| Added | True when a new component was created. |
| Succeeded | True when the value was applied. |
Details
Use this action for single-field updates. It ensures schema alignment before setting the value.
Examples
- Update only the
Healthfield after taking damage. - Toggle a single boolean flag such as
IsAlerted.