在項(xiàng)目跟目錄 的 luaIde 中添加?
RefTypeConfig.lua 文件?
用途: 此配置將通過(guò)命名規(guī)則映射對(duì)應(yīng)的 luaTable(luaModule)?
在文件添加RefType 標(biāo)簽描述? ?如:
--@RefType [luaIde#UnityEngine.GameObject]
refType_Pos = nil
在代碼提示中遇到 xxxPos? 或 test.yyyPos 或 test.mode.zzzPos 會(huì)自動(dòng)將 這些變量映射為??UnityEngine.GameObjec
--@RefType [luaIde#UnityEngine.GameObject]
Pos_refType = nil
在代碼提示中遇到 Posxxx? 或 test.Posyyy 或 test.mode.Poszzz 會(huì)自動(dòng)將 這些變量映射為??UnityEngine.GameObjec