用户:
array_已退查看:14 回复:4 评论:14 创建时间:2021-10-15T19:20:48
事情是这样的: x=entity.player.dialog({ type:Box3DialogType.SELECT, title:'查看排行榜', content:`你喵了${entity.die}次\n你获胜了${entity.won}次`, options:['喵次数排行榜','获胜次数排行榜'], contentBackgroundColor:newBox3RGBAColor(1,1,1,1), titleBackgroundColor:newBox3RGBAColor(0.968,0.702,0.392,1), contentTextColor:newBox3RGBAColor(0,0,0,1), }) console.log(x.index) 结果:控制台没输出??? (外面是已经套了一层事件了)
array_已退x=entity.player.dialog({
type:Box3DialogType.SELECT, title:'查看排行榜',
content:`你喵了${entity.die}次\n你获胜了${entity.won}次`,
options:['SW次数排行榜','获胜次数排行榜'],
contentBackgroundColor:newBox3RGBAColor(1,1,1,1),
titleBackgroundColor:newBox3RGBAColor(0.968,0.702,0.392,1),
contentTextColor:newBox3RGBAColor(0,0,0,1),
})
console.log(x.index)点赞0
评论