Lv.1
在 【求助】PRO版的背包怎么写 中回复
就像这样:
let e = world.createEntity({
position: new GameVector3(63.5, 63.5, 63.5),//这里填坐标
fixed: true,
collides: false,
enableInteract: true,
interactRadius: 256
});
e.onInteract(({ entity }) => {
//在这里写背包打开后的处理
});2024-02-03T10:29:17 点赞:0