com.unity.localization
更改Key
[SerializeField] LocalizeStringEvent LSE;
LSE.StringReference.SetReference("TableName", "Key");
Key內容抓取
LSE.StringReference.GetLocalizedString().Result
2021/10/06
抓變數 Local Variables
update
RefreshString()
2021/10/23
Excel CSV to Table
using UnityEditor.Localization;
using UnityEngine.Localization.Tables;
[SerializeField] StringTableCollection _STC = null;
StringTable[] st = new StringTable[_STC.StringTables.Count];
int i = 0;
foreach (var Item in _STC.StringTables)
{
st[0] = Item;
Item.AddEntry("TEST2", "123");
i++;
}