FairyGUI-Editor icon indicating copy to clipboard operation
FairyGUI-Editor copied to clipboard

classinfo.classname跟组件名前缀绑定一起,不太灵活

Open shelllee opened this issue 4 years ago • 0 comments

问题抛出

  • classinfo.classname跟组件名前缀绑定一起,不太灵活,比如:
    1. 新建包并命名为: common
    2. 设置组件名前缀: UI
    3. 然后导出,发现代码中class名为UIcommon,而不是期望的UICommon

涉及

  • 目前发现涉及到的地方
    1. 类名前缀
    2. 成员前缀

期望修改

  • 虽然能在导出插件脚本中获取setting,再去根据前缀进行魔改,但感觉多此一举,能完全由导出插件自己拼接就好了

shelllee avatar Oct 21 '20 14:10 shelllee