unity-localize-content
Implement Unity localized strings, assets and locale changes with stable table identities and owned asynchronous lifetimes.
- License 许可
- MIT
- 最近更新
- 2026-11-08
- Stars
- ★ 4
- Forks
- 3
01 前言 Front Matter
- name
- unity-localize-content
- engines
- [ "UNITY" ]
- description
- Implement Unity localized strings, assets and locale changes with stable table identities and owned asynchronous lifetimes.
02 资源文件 3
- 参考文档agents/openai.yaml296 B
- 其他customize.toml1.7 KB
- 参考文档references/locale-lifecycle.md4.0 KB
03 SKILL.md 正文
Unity Localize Content
When to use
Localize an existing Unity game's text, fonts, images or audio, including changing locale during loading. This skill owns content resolution; the selected UI workflow owns layout and focus.
Activation and inputs
Run commands/resolve-engine.sh and commands/resolve-skill.sh unity-localize-content; require effective UNITY compatibility before production edits or tool launches. Honor task override evidence and its output scope. A skill request does not select an engine.
Inspect the actual Editor, Localization and Addressables versions, configured locales, table collections, UI stack, fallback policy and target platforms. Use installed package documentation; do not add packages, locales or remote providers implicitly. Record observations and evidence under the resolved .hephaera/.cache/ task directory.
Workflow
- Inventory existing content and bindings before changes. Preserve Canvas/screen hierarchy, unrelated listeners, shared table GUIDs and entry IDs. Add or repair the smallest owned binding; do not rebuild the scene to localize one label.
- Define locale startup and persistence, required coverage and missing-key behavior. Await initialization before resolving content; handle unavailable settings, locale and tables as explicit errors or the project's declared fallback.
- Use stable table/entry references. Separate translated text from gameplay keys; retain stable IDs through imports and CSV round trips. Review placeholders, Smart String arguments, plurals and escaped markup with translators.
- Give each displayed binding an owner and request generation. A late result from an older locale, closed screen or replaced asset must not overwrite current content. Detach only owned callbacks and release only owned resource references on disable, cancellation or replacement.
- Review text expansion, shaping, bidirectionality and font/fallback coverage through the chosen TMP/TextCore stack. Localize accessible labels, input prompts and media alternatives as well as visible captions.
- Verify offline and target-player behavior, including cold loads and rapid locale changes. Do not use blocking localization calls on web targets or assume an Editor cache proves build inclusion.
Read locale and resource ownership for async bindings, asset handles, import identity and test design.
Output and verification
Deliver version-qualified bindings and tables, locale/fallback and handle-ownership decisions, coverage findings and a target layout matrix. Test missing keys, format errors, plural categories, A→B→A during loading, screen teardown, unrelated listener survival, font misses and remote/offline failures.
Record expected/observed results, environment and evidence; mark unavailable player/device checks blocked or not run. Successful string lookup cannot certify translation quality, font shaping or accessible presentation. Cloud translation, external exports and service activation require their own authorization.
04 同仓库更多 Skills
verify-web3-game-lifecycle
Verify a game's selected Web3 asset, wallet, ownership and trading lifecycle with contract properties, canonical recovery, actual target evidence and separate release readiness.
verify-onchain-game-assets
Verify exact on-chain game collection ownership and quantities at canonical blocks, reconcile inventory events, and design honest match admission. Use for ERC721/ERC1155 inventory, reorg recovery, reservations, or transfer-during-match rules.
plan-web3-game-assets
Define an opt-in Ethereum, Base or Immutable game-asset lifecycle, including token identity, supply, rights, custody, game eligibility and chain-specific dependencies.
integrate-game-wallets
Integrate explicit player-wallet connection, scoped SIWE authentication, authority invalidation and reviewed target-specific handoff without application-held player keys.
integrate-game-asset-trading
Integrate explicitly selected game asset settlement with exact unsigned intents, scoped approvals, idempotent operations and canonical receipt reconciliation. Use for NFT listing, buying, cancellation, retries or marketplace integration.
build-evm-game-contracts
Author and verify host-owned EVM game collections and explicit mint, burn, craft or admin rules with pinned Solidity tooling. Use for contract source and deployment candidates; deployment and player signing require separate authorization.