LuaIde
LuaIde copied to clipboard
文件模版希望可以支持多个自定义的模版参数
--[[ @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处理不同内容。
编辑器这边可以将 文件名 和moduleName 进行分开 但你说的多个 参数 具体逻辑 每太明白!