object-modify

Modify UnityEngine.Object fields and properties using objectRef and objectDiff.

1|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/lightvu25/Echoes --skill object-modify-lightvu25
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: object-modify
Source: https://github.com/lightvu25/Echoes/tree/main/SKILLS/object-modify
Command: npx skills add https://github.com/lightvu25/Echoes --skill object-modify-lightvu25

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Modifying Unity objects directly can be error-prone and time-consuming when done manually in the editor or at runtime. This Skill provides a safe, scripted mechanism to apply targeted changes to object fields and properties after inspecting the object's current structure using object-get-data.

Core Features & Use Cases

  • Direct modification: update fields and properties on UnityEngine.Object-derived instances.
  • Safe inspection: validate changes by referencing object-get-data before applying objectDiff.
  • Use Case: bulk-update components across multiple GameObjects during tooling or build pipelines.

Quick Start

Inspect the target Unity Object with object-get-data, then apply the desired field and property changes using objectDiff.

Frequently Asked Questions about object-modify

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I modify fields and properties on Unity objects programmatically?

To modify Unity objects programmatically, apply a targeted objectDiff describing the fields and properties to change onto a valid objectRef. This mechanism safely updates UnityEngine.Object instances like GameObjects and Components during development.

Can I bulk-update components across multiple GameObjects in Unity?

Yes, you can bulk-update components across multiple GameObjects in Unity by applying targeted field and property changes. This scripted workflow is designed for tooling and build pipelines to ensure precise updates.

What is the safest way to update Unity object fields during debugging?

The safest way to update Unity object fields during debugging is to inspect the target object's structure first, then apply the desired changes. Safety checks report unknown fields to prevent errors during modification.

Does modifying Unity3d assets directly cause issues with unknown fields?

Modifying Unity3d assets directly includes safety checks that report unknown fields specified in the objectDiff. This validation prevents errors by ensuring only valid fields and properties are updated on the objectRef.

How do I inspect a Unity object before applying field updates?

To inspect a Unity object before applying field updates, reference the object's current structure to understand its fields and properties. Once inspected, apply the desired changes using an objectDiff for safe modification.

What types of Unity objects can I update using scripted modification workflows?

You can update GameObjects, Components, and assets using scripted modification workflows. The process applies targeted field and property changes to any UnityEngine.Object-derived instance identified by a valid objectRef.