大约有 2 项符合查询结果, 库内数据总量为 30,971 项。 (搜索耗时: 0.0014 秒)
...的链接 提交 2 个回复 182*****524 赞同来自: 条件(三元)运算符是 JavaScript 仅有的使用三个操作数的运算符。本运算符经常作为if 语句的简短形式来使用。 https://developer.mozilla.org/ ... rator 2018-11-22 0 1 分享 微博 QZONE 微信 Laya_Aaron...
来源: Laya_社区 发布时间: 20181122
...逻辑 this.owner.on(Laya.Event.STOPPED, this, () => { // 通过三元运算符切换皮肤名称 currentSkin = currentSkin === "full-skins/girl" ? "full-skins/girl-blue-cape" : "full-skins/girl"; this.spine.skinName = currentSkin; this.spine.play("idle", false); //切换后重新播放一次 con...
来源: Laya3.0_文档 发布时间: 20250325