导出代码和预设的翻译表

dev_chengFeng
jiaoyangna 2021-03-04 11:04:47 +08:00
parent 7805c09f4d
commit f309c54436
3 changed files with 4137 additions and 4254 deletions

View File

@ -498,7 +498,7 @@ namespace Assets.Scripts.Editor.LanguageTool
if (obj != null)
{
var newPrefab = PrefabUtility.InstantiatePrefab(obj) as GameObject;
var texts = newPrefab.GetComponentsInChildren<LanguageText>(true);
var texts = newPrefab.GetComponentsInChildren<Text>(true);
foreach (var text in texts)
{
if (reg.IsMatch(text.text))

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff