以下示例是关于Shell中包含一体化定位用法的示例代码,想了解一体化定位的具体用法?一体化定位怎么用?一体化定位使用的例子?那么可以参考以下相关源代码片段来学习它的具体使用方法。
Go to package manager and click the plus icon.
Then ADD FROM GIT URL.
Enter this: com.unity.localization
---------------------
Edit > Project Settings > Localization
Window > Asset Management > Localization Tables
---------------------
Create Locales from Localization Tables.
Create Tables.
Add component to text "localize string event"
Give your string reference
Click plus on the event section and drag your text component on it. Then select text submenu and text again
---------------------
using UnityEngine.Localization.Settings;
LocalizationSettings.StringDatabase.GetLocalizedString("TestTable", "key_hello");
本文地址:https://www.itbaoku.cn/snippets/785158.html