大约有 1 项符合查询结果, 库内数据总量为 30,938 项。 (搜索耗时: 0.0009 秒)
...k); } function onSpriteClick(e) { var randomAngle = Math.random() * 180; //发送自定义事件 sp.event(ROTATE, [randomAngle]); } // 触发自定义的rotate事件 function onRotate(newAngle) { Tween.to(sp, { "rotation": newAngle }, 1000, Ease.elasticOut); } })();module laya { import Sprite = Laya...
来源: Laya_示例 发布时间: 20250316