LiuQilin 7 лет назад
Родитель
Сommit
9e3255c7ec
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      Assets/Tookits/LabelUtility/Editor/LabelSetDrawer.cs

+ 3 - 2
Assets/Tookits/LabelUtility/Editor/LabelSetDrawer.cs

@@ -81,8 +81,9 @@ public class LabelSetDrawer : PropertyDrawer
             position = DrawButton(position, "Create Label Script", ()=> {LabelUtility.CreateLabelScript(Instance);});
             position = DrawButton(position, "Create Component Script", ()=> { LabelUtility.CreateComponentScript(Instance); });
             position = DrawButton(position, "Create Label From Prefab", ()=> { LabelUtility.CreateLabelFromPrefab(Instance); });
-            position = DrawPropertys(position, ComponentPurviews);
-            position = DrawButton(position, "Create Components From Prefab", ()=> { LabelUtility.CreateComponentsFromPrefab(Instance); });
+            position = DrawButton(position, "Create Label From LanguageXml", ()=> { LabelUtility.CreateLabelFromLanguageXml(Instance); });  //todo Ôö¼Ó
+                position = DrawPropertys(position, ComponentPurviews);
+                position = DrawButton(position, "Create Components From Prefab", ()=> { LabelUtility.CreateComponentsFromPrefab(Instance); });
         }
 
         Instance.TotalHeight = position.y - originY;