What problem does it solve?
This Skill allows you to make precise changes to Unity UI elements within prefabs and scenes by directly editing their YAML serialization, bypassing the need for the Unity Editor's visual interface and minimizing large, unnecessary file diffs.
Core Features & Use Cases
- Targeted YAML Editing: Modify specific UI components like
RectTransform properties (position, size, anchors) and MonoBehaviour settings (colors, sprites) directly in YAML files.
- Minimal Diff Strategy: Adheres to principles of small, atomic commits and avoids reserializing entire scenes to keep Git history clean and merge conflicts manageable.
- Use Case: Update the color of a health bar in a Unity game by editing its prefab's YAML, then commit only that specific change.
Quick Start
Use the unity-ui skill to change the anchored position of the 'HealthBar' GameObject in 'Assets/Prefabs/UI/HUD.prefab' to x: 150, y: -50.