|
@@ -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;
|