导出代码和预设的翻译表
parent
7805c09f4d
commit
f309c54436
|
@ -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
Loading…
Reference in New Issue