What problem does it solve?
Unity UI creation can be time-consuming and error-prone when assembling canvases, panels, and common elements. This skill provides a structured set of commands to automate the creation and layout of UI components like Canvas, Button, Text, Image, and more, reducing repetitive setup and ensuring consistency.
Core Features & Use Cases
- Batch-first creation: use ui_create_batch when creating 2+ UI elements at once for menus, HUDs, and UI prototypes.
- Single-object and utility skills: ui_create_canvas, ui_create_panel, ui_create_button, ui_create_text, ui_create_image, ui_set_text, ui_find_all, ui_set_rect, ui_set_anchor, ui_layout_children, ui_align_selected, ui_distribute_selected, and ui_set_image to build and refine UI elements.
- Advanced element creation and configuration: ui_create_dropdown, ui_create_scrollview, ui_create_rawimage, ui_create_scrollbar; ui_set_image; ui_add_layout_element; ui_add_canvas_group; ui_add_mask; ui_add_outline; ui_configure_selectable.
Quick Start
Create a Canvas named MainCanvas and a Button named StartBtn under a Panel using batch skills.