导出代码和预设的翻译表
parent
7805c09f4d
commit
f309c54436
|
@ -498,7 +498,7 @@ namespace Assets.Scripts.Editor.LanguageTool
|
||||||
if (obj != null)
|
if (obj != null)
|
||||||
{
|
{
|
||||||
var newPrefab = PrefabUtility.InstantiatePrefab(obj) as GameObject;
|
var newPrefab = PrefabUtility.InstantiatePrefab(obj) as GameObject;
|
||||||
var texts = newPrefab.GetComponentsInChildren<LanguageText>(true);
|
var texts = newPrefab.GetComponentsInChildren<Text>(true);
|
||||||
foreach (var text in texts)
|
foreach (var text in texts)
|
||||||
{
|
{
|
||||||
if (reg.IsMatch(text.text))
|
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