object-modify

Modify Unity objects by applying structured diffs to fields and properties.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/igot-ai/os-twin --skill object-modify-igot-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: object-modify
Source: https://github.com/igot-ai/os-twin/tree/main/.agents/skills/roles/game-engineer/develop-unity-ui/references/object-modify
Command: npx skills add https://github.com/igot-ai/os-twin --skill object-modify-igot-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Modify Unity objects programmatically by directly editing fields and properties, reducing manual editing and errors when configuring scene objects.

Core Features & Use Cases

  • Directly modify fields and properties on UnityEngine.Object instances.
  • Use after inspecting the object's structure with object-get-data to ensure changes are safe and accurate.
  • Supports targeted updates or batched modifications within Unity automation pipelines.

Quick Start

Modify a Unity object by providing its reference and a diff describing fields/properties to change.

Frequently Asked Questions about object-modify

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

FAQPage Schema
How do I modify Unity object fields programmatically without manual editing?

To modify Unity object fields programmatically, apply a structured SerializedMember diff containing objectRef and objectDiff inputs to directly edit fields and properties on UnityEngine.Object instances. This approach reduces manual editing and configuration errors.

What is the best way to apply batch updates to Unity scene objects?

Applying batch updates to Unity scene objects requires providing an objectRef and a structured objectDiff input. The process validates changes against the target Unity object and returns a detailed result confirming the applied modifications.

Do I need to inspect a Unity object before modifying its properties?

Yes, you should inspect a Unity object's structure with object-get-data before modifying its properties to ensure changes are safe and accurate. This compatibility check prevents invalid field updates on runtime objects.

Can I use structured diffs to update Unity runtime objects?

Yes, you can use structured SerializedMember diffs to update Unity runtime objects. The modification process validates the provided objectDiff against the referenced object and returns a detailed result of the applied changes.

What are the limitations of modifying UnityEngine.Object instances with diffs?

Modifying UnityEngine.Object instances with diffs requires a valid objectRef and a compatible objectDiff structure. Without prior inspection of the object's structure, applying targeted updates may fail validation or cause unsafe modifications.