Skip to main content
Ejecuta cualquier Skill en Manus
con un clic

gameobject-component-modify

Estrellas2
Forks0
Actualizado2 de mayo de 2026, 00:47

Modify a specific Component on a GameObject in opened Prefab or in a Scene. Allows direct modification of component fields and properties without wrapping in GameObject structure. Use 'gameobject-component-get' first to inspect the component structure before modifying. Three modification surfaces (use whichever fits the task): 1. 'componentDiff' — full SerializedMember diff (legacy, backwards compatible). 2. 'pathPatches' — list of {path, value} pairs routed through Reflector.TryModifyAt; atomic per-path modification, multiple entries can target different depths. 3. 'jsonPatch' — a JSON Merge Patch (RFC 7396, extended with [i]/[key] notation) routed through Reflector.TryPatch; multiple fields at any depth in a single call. When more than one is supplied they run in this order: jsonPatch → pathPatches → componentDiff. At least one is required. Path syntax: 'fieldName', 'nested/field', 'arrayField/[i]', 'dictField/[key]'. Leading '#/' is stripped.

Instalación

Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.

SKILL.md
readonly