umi_ 看过自定义控件的教程,控件必须写在\resources\app\out\vs\layaEditor\renders下,但是现在我想把控件写在项目的目录下(方便分享或共同开发,不用单独到上面的路径去复制给别人)不知道有没有这样的功能?如果没有,会考虑添加吗?
umi_ 看了下源码,找到了var uiConfigPath; uiConfigPath=FileManager.getWorkPath("laya/custom"); console.log("customUI:",uiConfigPath); this.initCustomUIConfig(uiConfigPath,false);也就是把教程的里的东西搬到 自己的项目路径/laya/custom 下