YoyoRD/UnityCLI-2022
Skill Claude CodeCodex
Drive a running Unity Editor or development Player from the command line via the unity-pipeline package — install the package, keep the editor ticking while unfocused, run the edit→recompile→runtests loop, evaluate C#, and hot-reload files at runtime. Use when an agent needs to control a live Unity instance, automate…
YoyoRD/UnityCLI-2022
Command
Author animation assets: AnimationClips (and their float curves), AnimatorControllers (parameters, layers, states, transitions), and Timeline assets. Create commands write under the authoring root and follow the shared confirm/dryrun convention.
YoyoRD/UnityCLI-2022
Command
Commands for creating, importing, moving, copying, renaming, deleting and finding project assets, plus folder and text-file operations. Every agent-supplied path is funnelled through the authoring-root sandbox (it rejects ../ and out-of-project writes); destructive or overwriting operations require confirm=true and…
YoyoRD/UnityCLI-2022
Command
Bake and clear precomputed scene data: lightmaps, NavMesh, and occlusion culling. Each bake runs asynchronously (returns immediately) — poll the matching bakestatus until completed. The clear commands are destructive and require confirm=true. The getsettings / setsettings pairs read and tune the bake parameters.
YoyoRD/UnityCLI-2022
Command
These commands drive the build/compile/test dev loop, plus build configuration: triggering Player builds and reading the resulting BuildReport, switching the active build target, enumerating targets, reading/writing EditorUserBuildSettings, and listing Build Profiles. Several commands are asynchronous: trigger the…
YoyoRD/UnityCLI-2022
Command
Commands that render a camera, the Scene View, or a UI Toolkit element to a PNG and return it base64-encoded so an agent can "see" the editor (or a running player) without a display.
YoyoRD/UnityCLI-2022
Command
Commands to control Editor play mode, focus, and menus, and to observe the Editor's state, console, and performance.
YoyoRD/UnityCLI-2022
Command
Commands for creating GameObjects, querying the scene hierarchy, mutating the core GameObject/Transform surface, and adding/removing components and editing their serialized properties. Scene mutations are wrapped in Unity's Undo system (so a multi-step action reverts as one collapsible step) and are blocked during…
YoyoRD/UnityCLI-2022
Command
Read and edit material shader properties, and discover/introspect shaders so an agent can pick a valid shader name and property set.
YoyoRD/UnityCLI-2022
Command
Commands to read and drive the Editor selection, and to run Unity Search queries. All commands are read-only or non-destructive and run on the main thread.
YoyoRD/UnityCLI-2022
Command
These commands query and modify the project's UPM package set (list, search, add, remove, resolve, status) over UnityEditor.PackageManager. Read-only queries block until the registry responds and return synchronously; mutating commands (packageadd/packageremove) require confirm=true, support dryrun previews, and are…
YoyoRD/UnityCLI-2022
Command
Commands covering the prefab lifecycle an agent needs to build content procedurally: saving a configured GameObject as a prefab asset, instantiating it into a scene, deriving a variant, applying/reverting instance overrides, unpacking, and editing prefab contents through the prefab stage. Asset paths are sandboxed to…
YoyoRD/UnityCLI-2022
Command
Read and change a representative slice of Unity's project-wide settings (Audio, Graphics, Input, Physics, Player, Quality, Tags & Layers, Time). get commands read a group's current values into a ProjectSettingsResponse; set commands mutate them through the shared confirm/dryrun convention, so confirm=true is required…
YoyoRD/UnityCLI-2022
Command
Commands served by the Player / dev-build server. Many require a Development build running RuntimePipelineManager — see Runtime setup. Commands marked RuntimeOnly are only registered in a player build.
YoyoRD/UnityCLI-2022
Command
Commands for creating, opening, saving and inspecting scenes, controlling the active scene, snapshotting a scene's hierarchy, and managing the Build Settings scene list. Mutating scene operations are blocked while the editor is entering or in play mode (they fail with a recoverable error before touching any state)…
YoyoRD/UnityCLI-2022
Command
Commands for creating C# script files, attaching MonoBehaviours to GameObjects, and reading/writing serialized fields. Writing a .cs file does not make its type available — Unity must import and compile it (a domain reload) first. The flow is: createscript → recompile → poll recompilestatus (until completed/uptodate)…