跳过主要内容
UNI
Skill官方免费

Unity TextMeshPro Optimization

/optimize-text-mesh-pro

Optimizes TextMeshPro rendering, memory, and font setup, including font asset stacks, fallback atlases, SDF quality, and worldspace text.

GitHub 星数
1,118
(所在仓库星数,统计于 2026-10-21)
许可证
Unity Companion License
最近提交
2026/10/20
作者
Unity Technologies

所属合集

Unity Skills (official)

Unity's own collection of skills for AI coding agents: prompts, slash commands and tools built for Unity workflows.

信息来自作者的 README。 GameSkill 还没完整跑过。支持的 Agent 和安装步骤以作者文档为准。

安装

Any agent (skills CLI)
npx skills add Unity-Technologies/skills --skill optimize-text-mesh-pro

Installs only this skill. Add -a claude-code (puts it in .claude/skills/), -a codex or -a cursor (.agents/skills/) to choose the agent, and -g to install it for your user instead of the project.

命令照搬项目 README。在本机运行前,请先看一眼仓库。

为指定 Agent 安装
Agent-a文件夹
Claude Codeclaude-code.claude/skills/
Codexcodex.agents/skills/
Cursorcursor.agents/skills/
Gemini CLIgemini-cli.agents/skills/
GitHub Copilotgithub-copilot.agents/skills/
OpenCodeopencode.agents/skills/
Windsurfwindsurf.windsurf/skills/

在命令后加 -a <参数>。以上是项目级文件夹;加 -g 则安装到你的用户目录。

包含内容

  • A pitfalls section with the mistakes to avoid

适合

  • TMP fonts, CJK or multilingual text, or text performance

试试这条提示词

提示词
My TMP text shows missing Chinese glyphs and the font atlas is huge. Fix both.

关于这个 Skill

Optimizes TextMeshPro rendering, memory, and font setup, including font asset stacks, fallback atlases, SDF quality, and worldspace text. Use when the user asks about TMP fonts, CJK or multilingual text, or text performance.

From the optimize-text-mesh-pro SKILL.md in Unity-Technologies/skills.

What's inside

  • Triage — identify the symptom first
  • Core Rules
  • Font Stack & Dynamic Fallbacks
  • Padding & Sampling Ratios
  • Font Asset Scale
  • Sprite Assets
  • AutoSize
  • Atlas Render Mode: SDF16
  • Font Normalization
  • Material Presets

Good to know

Maintained and published by Unity. Many skills drive the open Unity Editor through the Unity CLI instead of editing scene files by hand.

环境要求

  • A Unity project
  • Unity CLI (recommended: many skills drive the open Editor through it)

常见问题

Unity Skills (official) 中的更多 Skills

查看全部 20 个

相似 skills