@aqian0/dsh-unity 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +53 -0
- package/LICENSE-UNITY-COMPANION.md +122 -0
- package/LICENSE.md +31 -0
- package/NOTICE.md +90 -0
- package/README.md +273 -2
- package/cordis.patch.yml +22 -0
- package/docs/design.md +297 -0
- package/icon.svg +16 -0
- package/lib/frontmatter.js +392 -0
- package/lib/gating.js +105 -0
- package/lib/harness.js +16 -0
- package/lib/index.js +171 -0
- package/lib/project.js +210 -0
- package/lib/registry.js +268 -0
- package/lib/requirements.js +214 -0
- package/lib/skills.js +191 -0
- package/lib/types/frontmatter.d.ts +84 -0
- package/lib/types/gating.d.ts +80 -0
- package/lib/types/harness.d.ts +152 -0
- package/lib/types/index.d.ts +75 -0
- package/lib/types/project.d.ts +93 -0
- package/lib/types/registry.d.ts +96 -0
- package/lib/types/requirements.d.ts +67 -0
- package/lib/types/skills.d.ts +54 -0
- package/lib/types/watch.d.ts +34 -0
- package/lib/watch.js +84 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +70 -4
- package/skills/2d-pixel-perfect/SKILL.md +208 -0
- package/skills/2d-pixel-perfect/references/api-reference.md +81 -0
- package/skills/2d-pixel-perfect/references/camera-setup-builtin.cs +40 -0
- package/skills/2d-pixel-perfect/references/camera-setup-urp.cs +49 -0
- package/skills/2d-pixel-perfect/references/pipeline-detection.cs +50 -0
- package/skills/2d-pixel-perfect/references/sprite-settings.cs +37 -0
- package/skills/asset-transformer-toolkit/SECURITY.md +15 -0
- package/skills/asset-transformer-toolkit/SKILL.md +39 -0
- package/skills/asset-transformer-toolkit/references/create-importer.md +121 -0
- package/skills/asset-transformer-toolkit/references/lods.md +61 -0
- package/skills/asset-transformer-toolkit/references/rule-api.md +154 -0
- package/skills/asset-transformer-toolkit/references/ruleblock-api.md +37 -0
- package/skills/asset-transformer-toolkit/references/ruleset-api.md +138 -0
- package/skills/asset-transformer-toolkit/references/rulesets-and-actions.md +227 -0
- package/skills/audio-setup-mixers/SECURITY.md +16 -0
- package/skills/audio-setup-mixers/SKILL.md +127 -0
- package/skills/audio-setup-mixers/references/api.md +162 -0
- package/skills/build-gtk/SECURITY.md +16 -0
- package/skills/build-gtk/SKILL.md +200 -0
- package/skills/build-gtk/references/api-reference.md +33 -0
- package/skills/build-gtk/references/graph-api-gaps.md +96 -0
- package/skills/build-gtk/references/runtime-and-visualization.md +191 -0
- package/skills/build-gtk/references/state-machine-api.md +270 -0
- package/skills/build-gtk/references/where-the-docs-stop.md +49 -0
- package/skills/build-live-game/SKILL.md +159 -0
- package/skills/build-live-game/references/achievements.md +757 -0
- package/skills/build-live-game/references/apis.md +271 -0
- package/skills/build-live-game/references/authentication.md +431 -0
- package/skills/build-live-game/references/battlepass.md +904 -0
- package/skills/build-live-game/references/blueprints-and-samples.md +75 -0
- package/skills/build-live-game/references/cloud-code-cloudbehaviours.md +1111 -0
- package/skills/build-live-game/references/cloud-code-modules.md +1276 -0
- package/skills/build-live-game/references/cloud-code.md +58 -0
- package/skills/build-live-game/references/cloud-save.md +464 -0
- package/skills/build-live-game/references/deployment.md +231 -0
- package/skills/build-live-game/references/orientation.md +30 -0
- package/skills/build-live-game/references/player-account.md +821 -0
- package/skills/build-live-game/references/remote-config.md +96 -0
- package/skills/build-live-game/references/services-overview.md +76 -0
- package/skills/build-live-game/references/tooling.md +375 -0
- package/skills/build-live-game/references/ugs-cli.md +86 -0
- package/skills/craft-game-floors/SECURITY.md +23 -0
- package/skills/craft-game-floors/SKILL.md +134 -0
- package/skills/craft-game-floors/references/art-direction.md +85 -0
- package/skills/craft-game-floors/references/camera-rigs.md +51 -0
- package/skills/craft-game-floors/references/character-motion.md +35 -0
- package/skills/craft-game-floors/references/game-audio.md +47 -0
- package/skills/craft-game-floors/references/game-feel.md +68 -0
- package/skills/craft-game-floors/references/game-shell.md +45 -0
- package/skills/craft-game-floors/references/live-floor.md +35 -0
- package/skills/craft-game-floors/references/placeholder-assets.md +35 -0
- package/skills/craft-game-floors/references/scene-lighting.md +52 -0
- package/skills/craft-game-floors/references/toon-shading.md +34 -0
- package/skills/craft-game-floors/references/vfx.md +40 -0
- package/skills/craft-game-floors/references/visual-scorecard.md +43 -0
- package/skills/create-2d-physics/SECURITY.md +16 -0
- package/skills/create-2d-physics/SKILL.md +128 -0
- package/skills/create-2d-physics/references/2d-physics-core.md +155 -0
- package/skills/create-2d-physics/references/legacy-2d-physics.md +45 -0
- package/skills/create-tile-palette-or-rule-tiles/SKILL.md +95 -0
- package/skills/create-tile-palette-or-rule-tiles/references/hexagonalruletile.md +71 -0
- package/skills/create-tile-palette-or-rule-tiles/references/palette-create.md +38 -0
- package/skills/create-tile-palette-or-rule-tiles/references/ruletile-createempty.md +37 -0
- package/skills/create-tile-palette-or-rule-tiles/references/ruletile-createfromsegment.md +219 -0
- package/skills/create-tile-palette-or-rule-tiles/references/ruletile.md +95 -0
- package/skills/create-tile-palette-or-rule-tiles/scripts/CreatePaletteTemplate.cs +148 -0
- package/skills/create-tile-palette-or-rule-tiles/scripts/ManualWorkflowExample.cs +63 -0
- package/skills/create-tile-palette-or-rule-tiles/scripts/RuleTileGenerator.cs +61 -0
- package/skills/create-tile-palette-or-rule-tiles/scripts/TilemapRuleTileCreateFromSegment.cs +225 -0
- package/skills/fix-3d-physics-collisions/SECURITY.md +17 -0
- package/skills/fix-3d-physics-collisions/SKILL.md +139 -0
- package/skills/fix-3d-physics-collisions/references/collision-checklist.md +80 -0
- package/skills/fix-3d-physics-collisions/references/collision-debugger.md +18 -0
- package/skills/fix-3d-physics-collisions/references/console-errors-table.md +9 -0
- package/skills/fix-3d-physics-collisions/references/kinematic-trigger-facts.md +18 -0
- package/skills/fix-3d-physics-collisions/references/other-symptoms.md +29 -0
- package/skills/fix-3d-physics-collisions/references/raycast-checklist.md +8 -0
- package/skills/fix-3d-physics-collisions/references/topic-map.md +42 -0
- package/skills/fix-3d-physics-collisions/references/trigger-checklist.md +9 -0
- package/skills/fix-3d-physics-collisions/scripts/CollisionDebugger.cs +561 -0
- package/skills/generate-editor-search-query/SECURITY.md +17 -0
- package/skills/generate-editor-search-query/SKILL.md +117 -0
- package/skills/generate-editor-search-query/references/open-search-window.md +70 -0
- package/skills/generate-editor-search-query/references/query-patterns.md +124 -0
- package/skills/implement-in-app-purchases/SKILL.md +82 -0
- package/skills/implement-in-app-purchases/references/api-details.md +41 -0
- package/skills/implement-in-app-purchases/references/api-notes.md +105 -0
- package/skills/implement-in-app-purchases/references/codeless-catalog.md +197 -0
- package/skills/implement-in-app-purchases/references/convert-adapty.md +270 -0
- package/skills/implement-in-app-purchases/references/convert-essentialkit.md +239 -0
- package/skills/implement-in-app-purchases/references/convert-revenuecat.md +277 -0
- package/skills/implement-in-app-purchases/references/convert-unipay.md +145 -0
- package/skills/implement-in-app-purchases/references/migration-v4-to-v5.md +46 -0
- package/skills/implement-in-app-purchases/references/path-add-iap-to-new-project.md +197 -0
- package/skills/implement-in-app-purchases/references/path-convert-native-google-billing.md +302 -0
- package/skills/implement-in-app-purchases/references/path-convert-native-storekit.md +357 -0
- package/skills/implement-in-app-purchases/references/path-implement-iap-d2c.md +253 -0
- package/skills/implement-in-app-purchases/references/platform-notes.md +55 -0
- package/skills/implement-in-app-purchases/references/pre-check.md +207 -0
- package/skills/implement-in-app-purchases/references/topic-map.md +46 -0
- package/skills/initialize-ai-navigation/SKILL.md +109 -0
- package/skills/initialize-ai-navigation/references/navigation-system.md +793 -0
- package/skills/initialize-ai-navigation/references/topic-map.md +66 -0
- package/skills/levelplay-unity-integration/SKILL.md +122 -0
- package/skills/levelplay-unity-integration/references/adding-more-ad-formats.md +15 -0
- package/skills/levelplay-unity-integration/references/banner-api.md +927 -0
- package/skills/levelplay-unity-integration/references/best-practices.md +604 -0
- package/skills/levelplay-unity-integration/references/dependency-resolution.md +94 -0
- package/skills/levelplay-unity-integration/references/examples.md +10 -0
- package/skills/levelplay-unity-integration/references/ilrd-api.md +337 -0
- package/skills/levelplay-unity-integration/references/initialization-api.md +851 -0
- package/skills/levelplay-unity-integration/references/interstitial-api.md +907 -0
- package/skills/levelplay-unity-integration/references/ios-setup.md +463 -0
- package/skills/levelplay-unity-integration/references/migration-sdk-9.md +666 -0
- package/skills/levelplay-unity-integration/references/privacy-settings.md +593 -0
- package/skills/levelplay-unity-integration/references/production-release-checklist.md +22 -0
- package/skills/levelplay-unity-integration/references/rewarded-api.md +918 -0
- package/skills/levelplay-unity-integration/references/step-0-new-or-migration.md +8 -0
- package/skills/levelplay-unity-integration/references/step-1-verify-environment.md +4 -0
- package/skills/levelplay-unity-integration/references/step-10-testing.md +15 -0
- package/skills/levelplay-unity-integration/references/step-2-business-goals.md +12 -0
- package/skills/levelplay-unity-integration/references/step-3-install-sdk.md +55 -0
- package/skills/levelplay-unity-integration/references/step-4-native-dependencies.md +22 -0
- package/skills/levelplay-unity-integration/references/step-5-app-key-and-ad-units.md +18 -0
- package/skills/levelplay-unity-integration/references/step-6-5-privacy-and-regulation.md +51 -0
- package/skills/levelplay-unity-integration/references/step-6-admob-keys.md +16 -0
- package/skills/levelplay-unity-integration/references/step-7-initialize.md +50 -0
- package/skills/levelplay-unity-integration/references/step-8-ad-unit-strategy.md +16 -0
- package/skills/levelplay-unity-integration/references/step-9-implement-ad-units.md +66 -0
- package/skills/levelplay-unity-integration/references/testing-and-validation.md +222 -0
- package/skills/levelplay-unity-integration/references/troubleshooting.md +99 -0
- package/skills/localize-unity-project/SKILL.md +159 -0
- package/skills/localize-unity-project/references/api-notes.md +15 -0
- package/skills/localize-unity-project/references/cjk-fonts.md +83 -0
- package/skills/localize-unity-project/references/docs-map.md +42 -0
- package/skills/localize-unity-project/references/documentation-lookup.md +33 -0
- package/skills/localize-unity-project/references/locale-switching.md +17 -0
- package/skills/localize-unity-project/references/table-completeness-check.md +47 -0
- package/skills/localize-unity-project/references/translating-existing-project.md +47 -0
- package/skills/localize-unity-project/references/translation-strategy.md +41 -0
- package/skills/localize-unity-project/references/troubleshooting.md +12 -0
- package/skills/localize-unity-project/scripts/L10nBatchProcessor.cs +191 -0
- package/skills/localize-unity-project/scripts/LocalizedFontAsset.cs +18 -0
- package/skills/manage-sprite-atlas/SKILL.md +202 -0
- package/skills/manage-sprite-atlas/references/addressables-delivery.md +58 -0
- package/skills/manage-sprite-atlas/references/advanced-manual-authoring.md +19 -0
- package/skills/manage-sprite-atlas/references/api.md +382 -0
- package/skills/manage-sprite-atlas/references/best-practices.md +183 -0
- package/skills/manage-sprite-atlas/references/common-errors.md +123 -0
- package/skills/manage-sprite-atlas/references/complete-workflow.md +61 -0
- package/skills/manage-sprite-atlas/references/custom-packing.md +147 -0
- package/skills/manage-sprite-atlas/references/delivery-mechanism.md +30 -0
- package/skills/manage-sprite-atlas/references/key-requirements.md +21 -0
- package/skills/manage-sprite-atlas/references/manual-authoring.md +39 -0
- package/skills/manage-sprite-atlas/references/namespaces.md +15 -0
- package/skills/manage-sprite-atlas/references/v2-architecture.md +21 -0
- package/skills/manage-sprite-atlas/resources/authoringvsruntime.cs +176 -0
- package/skills/manage-sprite-atlas/resources/buildaddressablespostprocess.cs +59 -0
- package/skills/manage-sprite-atlas/resources/cacheloadedatlases.cs +145 -0
- package/skills/manage-sprite-atlas/resources/cleanupbatchoperations.cs +119 -0
- package/skills/manage-sprite-atlas/resources/createandconfiguremasteratlas.cs +57 -0
- package/skills/manage-sprite-atlas/resources/custompackersetup.cs +88 -0
- package/skills/manage-sprite-atlas/resources/deprecatedmethods.cs +142 -0
- package/skills/manage-sprite-atlas/resources/dontmodifywithoutsaving.cs +120 -0
- package/skills/manage-sprite-atlas/resources/dontpackinruntimebuilds.cs +190 -0
- package/skills/manage-sprite-atlas/resources/dontscriptspriteatlasineditor.cs +114 -0
- package/skills/manage-sprite-atlas/resources/editorconfiguration.cs +95 -0
- package/skills/manage-sprite-atlas/resources/enablespritepacking.cs +172 -0
- package/skills/manage-sprite-atlas/resources/gridspritepacker.cs +50 -0
- package/skills/manage-sprite-atlas/resources/handlelatebinding.cs +147 -0
- package/skills/manage-sprite-atlas/resources/handlenullcases.cs +141 -0
- package/skills/manage-sprite-atlas/resources/migratev1tov2.cs +335 -0
- package/skills/manage-sprite-atlas/resources/multipagepacker.cs +80 -0
- package/skills/manage-sprite-atlas/resources/optimizetexturesettings.cs +191 -0
- package/skills/manage-sprite-atlas/resources/packerdebugging.cs +158 -0
- package/skills/manage-sprite-atlas/resources/packtransform.cs +51 -0
- package/skills/manage-sprite-atlas/resources/platformnames.cs +127 -0
- package/skills/manage-sprite-atlas/resources/queryspritesefficiently.cs +222 -0
- package/skills/manage-sprite-atlas/resources/registercallbacks.cs +152 -0
- package/skills/manage-sprite-atlas/resources/runtimeatlasloader.cs +15 -0
- package/skills/manage-sprite-atlas/resources/runtimespriteaccess.cs +19 -0
- package/skills/manage-sprite-atlas/resources/savespriteatlasasset.cs +107 -0
- package/skills/manage-sprite-atlas/resources/scriptablepacker.cs +81 -0
- package/skills/manage-sprite-atlas/resources/setincludeinbuild.cs +164 -0
- package/skills/manage-sprite-atlas/resources/sizeoptimizedpacker.cs +88 -0
- package/skills/manage-sprite-atlas/resources/spriteatlaslatebinding.cs +123 -0
- package/skills/manage-sprite-atlas/resources/spriteatlasprebuildgenerator.cs +219 -0
- package/skills/manage-sprite-atlas/resources/spritedata.cs +35 -0
- package/skills/manage-sprite-atlas/resources/spritepack.cs +39 -0
- package/skills/manage-sprite-atlas/resources/texturedata.cs +15 -0
- package/skills/manage-sprite-atlas/resources/updatebuildscripts.cs +357 -0
- package/skills/manage-sprite-atlas/resources/updatesettingsconfiguration.cs +135 -0
- package/skills/manage-sprite-atlas/resources/usevariantswisely.cs +179 -0
- package/skills/manage-sprite-atlas/resources/variantatlas.cs +39 -0
- package/skills/migrate-birp-to-urp/SECURITY.md +16 -0
- package/skills/migrate-birp-to-urp/SKILL.md +167 -0
- package/skills/migrate-birp-to-urp/references/capturing-the-editor.md +66 -0
- package/skills/migrate-birp-to-urp/references/complex-shader-situations.md +272 -0
- package/skills/migrate-birp-to-urp/references/conversion-and-rendering-triage.md +113 -0
- package/skills/migrate-birp-to-urp/references/custom-shader-triage.md +123 -0
- package/skills/migrate-birp-to-urp/references/implementation-patterns.md +529 -0
- package/skills/migrate-birp-to-urp/references/migration-workflow.md +265 -0
- package/skills/migrate-birp-to-urp/references/parity-validation-and-troubleshooting.md +114 -0
- package/skills/migrate-birp-to-urp/references/preflight-and-urp-setup.md +195 -0
- package/skills/migrate-birp-to-urp/references/quality-settings-map.md +69 -0
- package/skills/new-unity-project/SECURITY.md +26 -0
- package/skills/new-unity-project/SKILL.md +171 -0
- package/skills/new-unity-project/references/checklist.md +18 -0
- package/skills/new-unity-project/references/common-mistakes.md +15 -0
- package/skills/new-unity-project/references/skill-setup.md +66 -0
- package/skills/new-unity-project/references/step-1-concept.md +13 -0
- package/skills/new-unity-project/references/step-2-platforms-and-create.md +31 -0
- package/skills/new-unity-project/references/step-3-join-and-reconcile.md +16 -0
- package/skills/new-unity-project/references/step-4-source-control.md +9 -0
- package/skills/new-unity-project/references/step-5-packages.md +18 -0
- package/skills/new-unity-project/references/step-6-identity-and-floors.md +20 -0
- package/skills/new-unity-project/references/step-7-visual-baseline.md +75 -0
- package/skills/new-unity-project/references/step-8-first-commit.md +21 -0
- package/skills/new-unity-project/references/step-9-handoff.md +23 -0
- package/skills/optimize-audio/SECURITY.md +16 -0
- package/skills/optimize-audio/SKILL.md +120 -0
- package/skills/optimize-audio/references/diagnostics.md +42 -0
- package/skills/optimize-audio/references/troubleshooting.md +41 -0
- package/skills/optimize-audio/resources/audio-import-api.md +149 -0
- package/skills/optimize-audio/resources/platform-settings.md +48 -0
- package/skills/optimize-text-mesh-pro/SKILL.md +181 -0
- package/skills/optimize-text-mesh-pro/references/dynamic-atlas-and-profiling.md +28 -0
- package/skills/optimize-text-mesh-pro/references/topic-map.md +36 -0
- package/skills/optimize-web/SECURITY.md +16 -0
- package/skills/optimize-web/SKILL.md +157 -0
- package/skills/optimize-web/references/editor-csharp.md +120 -0
- package/skills/optimize-web/references/topic-map.md +49 -0
- package/skills/optimize-web/references/troubleshooting.md +45 -0
- package/skills/optimize-web/references/understand-request.md +19 -0
- package/skills/optimize-web/references/web-assets-quality.md +59 -0
- package/skills/optimize-web/references/web-player-settings.md +39 -0
- package/skills/optimize-web/references/web-profiling-memory.md +71 -0
- package/skills/optimize-web/scripts/WebOptimizer.cs +46 -0
- package/skills/optimize-web/scripts/toktx-examples.sh +11 -0
- package/skills/setup-multiplayer-services/SKILL.md +36 -0
- package/skills/setup-multiplayer-services/references/dgs-entrypoint.md +79 -0
- package/skills/setup-multiplayer-services/references/entrypoints.md +213 -0
- package/skills/setup-multiplayer-services/references/examples.md +33 -0
- package/skills/setup-multiplayer-services/references/implementation-fit.md +30 -0
- package/skills/setup-multiplayer-services/references/underlying-services.md +11 -0
- package/skills/setup-multiplayer-services/references/workflows-prerequisites.md +17 -0
- package/skills/setup-vivox-voice-chat/SECURITY.md +16 -0
- package/skills/setup-vivox-voice-chat/SKILL.md +166 -0
- package/skills/setup-vivox-voice-chat/references/api-reference-lookup.md +28 -0
- package/skills/setup-vivox-voice-chat/references/docs-topic-map.md +13 -0
- package/skills/setup-vivox-voice-chat/references/events-and-participants.md +79 -0
- package/skills/setup-vivox-voice-chat/references/init-and-login.md +92 -0
- package/skills/setup-vivox-voice-chat/references/text-chat.md +93 -0
- package/skills/setup-vivox-voice-chat/references/troubleshooting.md +47 -0
- package/skills/setup-vivox-voice-chat/references/voice-channels.md +92 -0
- package/skills/shader-graph-create-custom-node/SKILL.md +25 -0
- package/skills/shader-graph-create-custom-node/resources/all_hints.hlsl +182 -0
- package/skills/sprite-editor/SECURITY.md +16 -0
- package/skills/sprite-editor/SKILL.md +66 -0
- package/skills/sprite-editor/references/api_reference.md +151 -0
- package/skills/sprite-editor/references/background.md +112 -0
- package/skills/sprite-editor/references/templates.md +72 -0
- package/skills/sprite-editor/scripts/AutomaticSliceTexture.cs +40 -0
- package/skills/sprite-editor/scripts/GenerateNewSpriteRects.cs +200 -0
- package/skills/sprite-editor/scripts/GetTextureSourceImageSize.cs +32 -0
- package/skills/sprite-editor/scripts/GetTextureToSlice.cs +55 -0
- package/skills/sprite-editor/scripts/GridSliceTexture.cs +40 -0
- package/skills/sprite-editor/scripts/IsometricSliceTexture.cs +141 -0
- package/skills/sprite-editor/scripts/README.md +134 -0
- package/skills/sprite-editor/scripts/SetPivotExample.cs +58 -0
- package/skills/sprite-editor/scripts/SpriteToPng.cs +88 -0
- package/skills/sprite-segment-3x3grid/SKILL.md +177 -0
- package/skills/sprite-segment-3x3grid/references/topic-map.md +37 -0
- package/skills/sprite-segment-3x3grid/scripts/SpriteGridAnalysis.cs +119 -0
- package/skills/ui/SKILL.md +142 -0
- package/skills/ui-imgui/SKILL.md +180 -0
- package/skills/ui-imgui/references/gui-elements.md +156 -0
- package/skills/ui-imgui/references/templates.md +141 -0
- package/skills/ui-ugui/SKILL.md +217 -0
- package/skills/ui-ugui/references/layout-and-anchors.md +61 -0
- package/skills/ui-ugui/references/scrollview-setup.md +29 -0
- package/skills/ui-uitk/SKILL.md +229 -0
- package/skills/ui-uitk/references/common-issues.md +74 -0
- package/skills/ui-uitk/references/custom-elements.md +241 -0
- package/skills/ui-uitk/references/painter2d.md +282 -0
- package/skills/ui-uitk/references/pointermanipulator-guide.md +94 -0
- package/skills/ui-uitk/references/svg-icons.md +136 -0
- package/skills/ui-uitk/references/ui-runtime-binding.md +234 -0
- package/skills/ui-uitk/references/uss-guide.md +138 -0
- package/skills/unity-cli/CHANGELOG.md +524 -0
- package/skills/unity-cli/SECURITY.md +68 -0
- package/skills/unity-cli/SKILL.md +160 -0
- package/skills/unity-cli/references/auth-license-cloud.md +318 -0
- package/skills/unity-cli/references/bootstrap-project.md +177 -0
- package/skills/unity-cli/references/build-run-test.md +555 -0
- package/skills/unity-cli/references/catalog-plugins.md +86 -0
- package/skills/unity-cli/references/ci-recipes.md +76 -0
- package/skills/unity-cli/references/cloud-automation.md +819 -0
- package/skills/unity-cli/references/cloud-workflows.md +19 -0
- package/skills/unity-cli/references/collaboration.md +533 -0
- package/skills/unity-cli/references/config-hub.md +239 -0
- package/skills/unity-cli/references/diagnostics-maintenance.md +718 -0
- package/skills/unity-cli/references/docs-workflow.md +179 -0
- package/skills/unity-cli/references/editor-targeting.md +29 -0
- package/skills/unity-cli/references/editors-install.md +490 -0
- package/skills/unity-cli/references/environment-variables.md +42 -0
- package/skills/unity-cli/references/exit-codes.md +47 -0
- package/skills/unity-cli/references/global-flags.md +32 -0
- package/skills/unity-cli/references/integration-advanced.md +1130 -0
- package/skills/unity-cli/references/notes.md +20 -0
- package/skills/unity-cli/references/notifications.md +39 -0
- package/skills/unity-cli/references/playmode-verification-loop.md +279 -0
- package/skills/unity-cli/references/projects-templates.md +997 -0
- package/skills/unity-cli/references/scene-editing-preflight.md +25 -0
- package/skills/unity-cli/references/setup-and-help.md +54 -0
- package/skills/unity-cli/references/version-control.md +612 -0
- package/skills/unity-package-management/SKILL.md +169 -0
- package/skills/unity-package-management/references/discovering-packages.md +66 -0
- package/skills/unity-package-management/references/headless-run.md +31 -0
- package/skills/unity-package-management/references/installer-script.md +92 -0
- package/skills/unity-package-management/references/select-packages.md +126 -0
- package/skills/unity-pipeline/SECURITY.md +17 -0
- package/skills/unity-pipeline/SKILL.md +205 -0
- package/skills/unity-pipeline/references/csharp-eval.md +23 -0
- package/skills/unity-pipeline/references/multiplayer-play-mode.md +103 -0
- package/skills/urp-postprocessing/SECURITY.md +16 -0
- package/skills/urp-postprocessing/SKILL.md +188 -0
- package/skills/urp-postprocessing/references/code-templates.md +150 -0
- package/skills/urp-postprocessing/references/effect-reference.md +86 -0
- package/skills/validate-urp-render-graph-renderer-feature/SKILL.md +92 -0
- package/skills/validate-urp-render-graph-renderer-feature/references/validation-checklist.md +179 -0
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
# Bootstrap a new project from scratch
|
|
2
|
+
|
|
3
|
+
> For a **guided** end-to-end experience — concept questions, installing the Editor in the
|
|
4
|
+
> background while you plan, package selection, and monetization handoff — use the
|
|
5
|
+
> **`new-unity-project`** skill. This section is the raw CLI recipe that skill builds on; use it
|
|
6
|
+
> directly when you just want the commands.
|
|
7
|
+
|
|
8
|
+
Take an idea to a running, version-controlled project using only the CLI. Decide the **target
|
|
9
|
+
platforms first** — they determine which Editor modules you install in step 2. You can add
|
|
10
|
+
modules later (`unity install-modules`), but a project can't build for a platform until that
|
|
11
|
+
platform's module is installed, so it's simplest to decide up front.
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
# 1. Confirm the CLI works and you're signed in and licensed (see references/auth-license-cloud.md).
|
|
15
|
+
unity --version
|
|
16
|
+
unity auth status --format json # if signed out: unity auth login
|
|
17
|
+
unity license status --format json # if none active: unity license activate
|
|
18
|
+
|
|
19
|
+
# 2. Pick and install an Editor with the modules your target platforms need.
|
|
20
|
+
# Default to the latest LTS (most stable, ~2 years of patches). Reach for a Tech-stream
|
|
21
|
+
# release (--stream tech) only for a feature not yet in LTS; treat --stream beta/alpha as
|
|
22
|
+
# evaluation-only, never for a project you intend to ship. A deadline argues for LTS.
|
|
23
|
+
# (lts / latest aliases work almost everywhere a version is accepted — `templates` is the
|
|
24
|
+
# exception; see step 3.)
|
|
25
|
+
unity releases --stream lts --limit 5 --format json
|
|
26
|
+
unity install lts --module android --module ios --yes --accept-eula # add --module webgl, etc.
|
|
27
|
+
unity editors --installed --format json # confirm it landed
|
|
28
|
+
|
|
29
|
+
# 3. List the real template ids this Editor offers — don't guess them — and pick by RENDER
|
|
30
|
+
# PIPELINE, not just by 2D/3D. Default to the URP templates:
|
|
31
|
+
# 3D → com.unity.template.urp-blank ("Universal 3D")
|
|
32
|
+
# 2D → com.unity.template.universal-2d ("Universal 2D": URP + the 2D packages)
|
|
33
|
+
# com.unity.template.3d and com.unity.template.2d are the Built-in Render Pipeline templates
|
|
34
|
+
# (displayName "… (Built-In Render Pipeline)"): deprecated from Unity 6.5, gone in 6.7. Use
|
|
35
|
+
# them only when the user explicitly asks for Built-in. Confirm the pick with the JSON
|
|
36
|
+
# `renderPipeline` field — it is blank for universal-2d on current releases, so match that
|
|
37
|
+
# one by id.
|
|
38
|
+
# `templates` resolves the lts / latest aliases through the release catalog, as `install`
|
|
39
|
+
# does, but the version you just installed (read it from `editors --installed`) is the one
|
|
40
|
+
# whose templates you want.
|
|
41
|
+
unity templates --editor-version <6000.x.y> --type core --format json
|
|
42
|
+
|
|
43
|
+
# 4. Create the project. The first positional arg is the NAME; --path sets the parent directory.
|
|
44
|
+
# All options supplied, so it won't prompt; add --non-interactive in CI.
|
|
45
|
+
# (To publish it to a remote in the same step, use the source-control forms below instead.)
|
|
46
|
+
unity projects create "MyGame" --path ~/UnityProjects \
|
|
47
|
+
--editor-version lts --template com.unity.template.urp-blank
|
|
48
|
+
|
|
49
|
+
# 5. Add the Pipeline package BEFORE the first open. `unity command`, `unity status` and
|
|
50
|
+
# `unity command script eval` all need it, and templates don't include it. The Editor reads
|
|
51
|
+
# Packages/manifest.json when it loads the project, so installing first means the package
|
|
52
|
+
# is live from the first open.
|
|
53
|
+
unity pipeline install --project-path ~/UnityProjects/MyGame
|
|
54
|
+
|
|
55
|
+
# 6. Open the project and wait until its Editor is ready to take commands. Pass the project's
|
|
56
|
+
# full path: a path that exists matches that project's Editor only, so an Editor open on a
|
|
57
|
+
# sibling checkout such as ~/UnityProjects/MyGame-lighting can't end the wait.
|
|
58
|
+
cd ~/UnityProjects/MyGame
|
|
59
|
+
unity open .
|
|
60
|
+
unity status --until-ready --project-path ~/UnityProjects/MyGame --format json
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
**Then build the scene in the live Editor, not in batch mode.** Create GameObjects, wire
|
|
64
|
+
components, and set asset references with `unity command script eval` (or the Editor's own `unity command`
|
|
65
|
+
tools) against the running Editor, and read the result back the same way. Each step can be
|
|
66
|
+
checked before the next one. A script run through `unity run -- -executeMethod` is the
|
|
67
|
+
**fallback** for when no Editor can stay open (CI, a headless build box). It can't see what it
|
|
68
|
+
produced: a reference saved as null, such as a `UIDocument` with no `PanelSettings`, still
|
|
69
|
+
reports success. If you do use batch mode, open the result in a live Editor and inspect it before
|
|
70
|
+
calling the work done. How to get an Editor to drive:
|
|
71
|
+
[integration-advanced.md → Getting an Editor to drive](integration-advanced.md#getting-an-editor-to-drive).
|
|
72
|
+
|
|
73
|
+
**Source control — let the user choose.** The CLI publishes the new project to a fresh remote in
|
|
74
|
+
one step for any provider. **Always pass tokens on stdin** (`--git-token-from-stdin`) so secrets never
|
|
75
|
+
land in shell history or the process list. Pick based on the project — don't default to one:
|
|
76
|
+
|
|
77
|
+
- **Git — GitHub / GitLab** (`--vcs github` / `--vcs gitlab`). Ubiquitous. For asset-heavy games
|
|
78
|
+
add **Git LFS** (`--git-lfs`) so large binaries don't bloat history.
|
|
79
|
+
- **Unity Version Control — UVCS** (`--vcs uvcs`). Unity's own VCS, built for large binary game
|
|
80
|
+
assets: it handles them natively (**no LFS needed**) and supports file locking — often the
|
|
81
|
+
better fit for art-heavy projects or larger teams. Auth uses your Unity sign-in; `--vcs-region`
|
|
82
|
+
selects the region.
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
# Git (GitHub) — drop --git-lfs if the game isn't asset-heavy. Add --no-initial-commit if you
|
|
86
|
+
# want to add packages/assets BEFORE the first commit (see the new-unity-project flow).
|
|
87
|
+
unity projects create "MyGame" --path ~/UnityProjects \
|
|
88
|
+
--editor-version lts --template com.unity.template.urp-blank \
|
|
89
|
+
--vcs github --git-namespace my-org --git-repo my-game \
|
|
90
|
+
--git-visibility private --git-default-branch main --git-token-from-stdin --git-lfs
|
|
91
|
+
|
|
92
|
+
# Unity Version Control (UVCS) — handles binaries natively, so no LFS:
|
|
93
|
+
unity projects create "MyGame" --path ~/UnityProjects \
|
|
94
|
+
--editor-version lts --template com.unity.template.urp-blank \
|
|
95
|
+
--vcs uvcs --git-namespace my-org --git-repo my-game --vcs-region <region>
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
Feed the token to `--git-token-from-stdin` from a secret store, never a literal — e.g.
|
|
99
|
+
`… --git-token-from-stdin <<<"$GIT_TOKEN"` where `$GIT_TOKEN` comes from your CI/secret manager
|
|
100
|
+
(UVCS uses your Unity sign-in, so no token is needed).
|
|
101
|
+
|
|
102
|
+
**Working with a UVCS workspace day to day: a few wrapped reads, everything else straight through
|
|
103
|
+
to `cm`.** The split is deliberate and worth teaching, because guessing wrong wastes a user's time:
|
|
104
|
+
|
|
105
|
+
- **`unity vcs uvcs <verb>`** wraps the reads that **join `cm`'s data to your project** —
|
|
106
|
+
`locks` (who holds a lock, *and which locks cover files you have already changed*),
|
|
107
|
+
`changesets`, and `review`. Those joins are the thing `cm` cannot do for you, and they come in a
|
|
108
|
+
stable envelope, so prefer them whenever something *parses* the output.
|
|
109
|
+
- **`unity uvcs <args>`** forwards the whole command line to `cm` verbatim, `--help` and
|
|
110
|
+
`--format` included. That is the supported route, not a workaround: `cm` owns and versions this
|
|
111
|
+
vocabulary, so wrapping it would pin a paraphrase that goes stale. Reach for it for **partial
|
|
112
|
+
checkout**, **shelves**, and **taking or releasing a lock**, and when a human reads the output.
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
unity vcs uvcs locks # who holds what, and what collides with your changes
|
|
116
|
+
unity uvcs lock list # the raw listing, cm's own flags and output
|
|
117
|
+
unity uvcs partial update /Assets/Levels # cm's own vocabulary, unchanged
|
|
118
|
+
unity uvcs shelve -c "wip: lighting pass"
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
Every verb, flag and trap: [version-control.md](version-control.md).
|
|
122
|
+
|
|
123
|
+
`unity cm <args>` is the same passthrough under cm's own name. Both need the `cm` client; install
|
|
124
|
+
it with `unity plugin install plastic` if a command says it is missing.
|
|
125
|
+
|
|
126
|
+
**Beyond setup, the `vcs` group covers the whole day-2 loop** — `status`, `sync`, `switch`,
|
|
127
|
+
`merge-setup`, `conflicts` / `explain` / `resolve`, `diff`, `blame`, `summarize`, `affected`,
|
|
128
|
+
`hooks`, `doctor`, `providers` — and the Unity semantics are the reason to reach for it over raw
|
|
129
|
+
`git`. Full reference, with the flags and the traps:
|
|
130
|
+
[version-control.md](version-control.md).
|
|
131
|
+
|
|
132
|
+
**Git tokens belong to the user's credential manager, not the CLI.** When no token flag or env var
|
|
133
|
+
is given, the CLI asks `git credential fill` and uses whatever the configured helper returns; it
|
|
134
|
+
stores nothing it is passed or told. Don't suggest the CLI can save a Git token, and don't reach for
|
|
135
|
+
a token flag when the user already has a working credential helper. If they want a different token
|
|
136
|
+
per organization, that is `git config --global credential.useHttpPath true` plus a multi-account
|
|
137
|
+
helper such as [Git Credential Manager](https://github.com/git-ecosystem/git-credential-manager).
|
|
138
|
+
The CLI passes the full repo URL so the helper can discriminate, but it never installs or
|
|
139
|
+
reconfigures a helper. `UNITY_GITHUB_TOKEN` / `UNITY_GITLAB_TOKEN` are one token per provider, so a
|
|
140
|
+
CI job spanning several orgs should pass `--git-token-from-stdin` per invocation instead. See
|
|
141
|
+
[references/projects-templates.md](projects-templates.md) for the full
|
|
142
|
+
source-control flag set. For a purely local Git repository instead, initialize git with a
|
|
143
|
+
Unity-appropriate ignore so the multi-GB `Library/` and other generated folders are never committed:
|
|
144
|
+
|
|
145
|
+
```bash
|
|
146
|
+
cd ~/UnityProjects/MyGame
|
|
147
|
+
git init -b main
|
|
148
|
+
# Download (do not pipe to a shell) a maintained Unity .gitignore:
|
|
149
|
+
curl -fsSL https://raw.githubusercontent.com/github/gitignore/main/Unity.gitignore -o .gitignore
|
|
150
|
+
|
|
151
|
+
# Asset-heavy game? Keep large binaries out of git history with Git LFS:
|
|
152
|
+
git lfs install
|
|
153
|
+
git lfs track "*.psd" "*.fbx" "*.wav" "*.mp3" "*.png" # adjust to your asset types
|
|
154
|
+
git add .gitattributes
|
|
155
|
+
|
|
156
|
+
git add -A
|
|
157
|
+
git status # sanity-check: Library/ Temp/ obj/ Build/ must NOT be staged
|
|
158
|
+
git commit -m "Initial Unity project: MyGame"
|
|
159
|
+
git ls-files | grep -c '^Library/' # must print 0
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
**What the CLI does and doesn't cover.** The CLI handles editor, project, and source control.
|
|
163
|
+
It has no top-level package command. To add UPM (Unity Package Manager) packages beyond the
|
|
164
|
+
template, use the **`unity-package-management`** skill: it runs the Pipeline `package add`
|
|
165
|
+
command through `unity command`, with a headless C# script as the fallback. For monetization/backend, hand off to the dedicated skills: `implement-in-app-purchases`
|
|
166
|
+
(IAP), `levelplay-unity-integration` (ads), or `build-live-game` (accounts, cloud save,
|
|
167
|
+
economy, remote config, leaderboards). Once steps 5 and 6 above are done, work in the open
|
|
168
|
+
Editor.
|
|
169
|
+
|
|
170
|
+
**Installed the Pipeline package while the Editor was already open?** The Editor picks up the
|
|
171
|
+
manifest change only when it next refreshes. Until then `unity status` reports
|
|
172
|
+
`STATUS_PIPELINE_LOAD_PENDING` (or `STATUS_NO_INSTANCES` on CLI releases before that code
|
|
173
|
+
existed). An Editor that is still opening or importing reports the same code until it finishes,
|
|
174
|
+
so wait for that first (`unity status --until-ready`). The CLI can't trigger the refresh itself:
|
|
175
|
+
if the Editor has finished opening, ask the user to switch to the Unity Editor window, then
|
|
176
|
+
re-run `unity status --until-ready`. Installing before the first open (step 5) avoids this
|
|
177
|
+
entirely.
|