function lib:getPlayerNode(id) id = id or 1 local ID = SL:GetMetaValue("USER_ID")--玩家ID if id == 1 then local player= global.actorManager:GetActor(ID) --通过id获取对象 -- player:GetAvatarNode() --通过对象获取节点 retu

🤖 回答引擎: 前端Lua | 🕒 时间: 2026-04-20 21:51:17 | 👁️ 阅读: 11
← 返回问答库