사용 예시

Localization Case Study

Path

The case scene for the localization feature is located at [Assets/UX_Samples/LocalizationSample].


Running Case

Open the case scene LocalizationSampleScene and configure the localization path as shown in the figure:

Then enter the play mode:


The scene contains three types of objects that support localization: images, static text, and dynamic text. The language can be switched uniformly at runtime.

You can quickly switch languages using the four buttons at the bottom. The language being modified here is the in-game language.

You can switch the preview language using the drop-down menu in the upper right corner of the Game. You can also view the effects of the text-free mode and text key value mode.


Note: The localization resources in the case are placed in the Resources directory. If you also place your custom localization resources in the Resources directory, it may result in failure to read them. You can fix this issue while viewing the case by temporarily moving your custom localization resources out of the Resources directory or renaming the custom localization resource file.

개발자용 인터페이스 개발 솔루션
feedback