[]TS 图片的显示隐藏
this.niuniuNormal.visible = idx != 0;
this.niuniuSelect.visible = idx == 0;
this.frogNormal.visible = idx != 1;
this.frogSelect.visible = idx == 1;
this.waterNormal.visible = idx != 2;
前面的这些写法不行,,,后面的这个行,,,,这种判断是可以写的啊
this.waterSelect.visible = true;
没有找到相关结果
已邀请:
要回复问题请先登录
2 个回复
qwer9527
赞同来自:
qwer9527
赞同来自: