文档

Unity Engine

Unity Engine

Localization examples

Follow complete localization examples, from a language menu to a custom table file format.
阅读时间1 分钟最后更新于 24 天前

Follow complete localization examples, from a language menu to a custom table file format.
Each example is a complete guide with compiled code, and each exercises one of Localization's extension points:

Topic

Description

Create a language selection menuAdd a language selection menu to a UI Toolkit interface.
Display dynamic values in a localized stringDrive a Smart String entry with a local variable from a script.
Create a custom startup locale selectorControl which language the application starts in.
Create a file table provider for text filesFormat table collections as plain text files with your own format.
Create a custom asset providerLoad localized content from a place the built-in sources can't reach.

Additional resources