大约有 1,700 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0062 秒)
Laya_社区(1359) Laya3.0_api(81) Laya2.0_api(74) laya_api(69) Laya2.0_文档(43) Laya_示例(36) Laya2.0_示例(20) Laya3.0_文档(18)
...this.setup(); } setup() { this.listenKeyboard(); this.createLogger(); Laya.timer.frameLoop(1, this, this.keyboardInspector); } listenKeyboard() { const Event = Laya.Event; // 用Set实现更好一些 keyDownList = []; // 添加键盘按下事件,一直按着某按键则会不断触发 Laya.stage.on(...
来源: Laya2.0_示例 发布时间: 20251209
...被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matrix Sprite url : Str...
来源: laya_api 发布时间: 20170929
...方法;切片动画载入播放后,就会循环播放,我目前使用timer将其停止播放,但还得卡着秒表数它播放了几轮,然后把毫秒数记下来,我觉得是否有更先进的方法? 我尝试了如下方法,但是没有效果,求解。 this.clip_wpLevelup.on(Lay...
来源: Laya_社区 发布时间: 20180609
...刻度值,滑动数值为tick的整数倍。默认值为1。 ScrollBar timer : Timer时间控制器,默认为Laya.timer。Node toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 Component top : Nu...
来源: laya_api 发布时间: 20170929
...个回复 qian 赞同来自: http://layaair.ldc.layabox.com/api/laya/utils/Timer.html 你可以看一下timer之类的文档 laya里面可以用这个实现 2018-01-17 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 LM20081991 相关问...
来源: Laya_社区 发布时间: 20180117
...刻度值,滑动数值为tick的整数倍。默认值为1。 ScrollBar timer : Timer时间控制器,默认为Laya.timer。Node toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 Component top : Nu...
来源: laya_api 发布时间: 20170929
...ser.height, WebGL); Laya.stage.bgColor = "#3da8bb"; createCanvases(); Laya.timer.frameLoop(1, this, animate); Laya.stage.on('mousedown', this, onMouseDown); Laya.stage.on('mousemove', this, onMouseMove); Laya.stage.on('mouseup', this, onMouseUp); })(); function createCanvases() { var graphicsCanvas ...
来源: Laya_示例 发布时间: 20251209
... 0; let obj = { count: count, index: index }; Laya.timer.loop(16, obj, function () { wx.vibrateShort(); index++; if (index > count) { Laya.timer.clearAll(obj); } }...
来源: Laya_社区 发布时间: 20190401
...: 2 人 sfsmmc • 2017-08-24 15:18 我之后试了,发现只有在Laya.timer.frameLoop()中设置了position,后面的Laya.Tween.to(_)才能起作用。这是为什么?https://layaair.ldc.layabox.co ... ing03 Laya.timer.frameLoop(1, this, checkHit); function checkHit() { box.transform.position ...
来源: Laya_社区 发布时间: 20170824
...STOPPED, this, this.completeHandler); this.play(); this.changeSkin(); Laya.timer.loop(1000, this, this.changeSkin); } changeSkin() { mCurrSkinIndex++; let skinLength = mSkinList.length; if (mCurrSkinIndex >= skinLength) { mCurrSkinIndex = 0; } mArmature.showSkinByName(mSkinList[mCurrSkinIndex]); } c...
来源: Laya2.0_示例 发布时间: 20251209