Browse Source

测试新的工具

LiuQilin 7 years ago
parent
commit
9e3255c7ec
1 changed files with 3 additions and 2 deletions
  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;