LuaIde icon indicating copy to clipboard operation
LuaIde copied to clipboard

文件模版希望可以支持多个自定义的模版参数

Open dongchengok opened this issue 7 years ago • 1 comments

--[[ @SuperType [login_res.common.uibase#CPrefabGui] ]] CxiiPrefab = Core.declare_class("CLogDataPrefab", CPrefabGui) function CLogDataPrefab:ctor(Data) self.data = {} end


--[[ @SuperType [login_res.common.uibase#CUIBaseController] ]] CxiiController = Core.declare_class( "CPvpLogUI", CUIBaseController )

比如我的Prefab和Controller需要不同的命名,只有一个moduleName就比较麻烦。 提两个解决方案的设想 一,类似输入函数参数支持输入多个。 二,宏可以支持多一层函数处理,这样可以把moduleName处理不同内容。

dongchengok avatar Feb 26 '18 10:02 dongchengok

编辑器这边可以将 文件名 和moduleName 进行分开 但你说的多个 参数 具体逻辑 每太明白!

k0204 avatar Mar 03 '18 13:03 k0204