大约有 698 项符合查询结果, 库内数据总量为 30,938 项。 (搜索耗时: 0.0063 秒)
Laya_社区(286) Laya3.0_api(156) laya_api(106) Laya2.0_api(98) Laya2.0_文档(24) Laya_示例(16) Laya3.0_文档(8) Laya2.0_示例(4)
...i] = skill._graphics._one; // 储存渲染后的小切片备用 Laya.timer.once(10, this, function () { try{ ani._frames[i]._one = skillAniArray[i]; // 将渲染后的小切片追加到动画中 }catch(e) { console.log('warning: animation in loading'); // 过于频繁加载动画时给予警告 } })...
来源: Laya_社区 发布时间: 20190215
...事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 Ev...
来源: Laya2.0_api 发布时间: 20190513
...oyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_height get_scaleX get_scaleY get_transform get_visible get_width gl...
来源: Laya3.0_api 发布时间: 20231102
...d(Laya.Sprite3D.load("../../res/threeDimen/skinModel/dude/dude.lh")); dude.once(Laya.Event.HIERARCHY_LOADED, this, function () { var customMaterial1 = new CustomMaterial(); customMaterial1.setDiffuseTexture(Laya.Texture2D.load("../../res/threeDimen/skinModel/dude/Assets/dude/head.png")); customMater...
来源: Laya_示例 发布时间: 20250315
...oyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_height get_scaleX get_scaleY get_transform get_visible get_width gl...
来源: Laya3.0_api 发布时间: 20231102
...UI界面 listP = new ListPageUI(); Laya.stage.addChild(listP); Laya.timer.once(1000,this,onAdd);//1000毫秒后初始化list数据 listP.add.on(Event.CLICK,this,onAddClick);//点击添加按钮 listP.remove.on(Event.CLICK,this,onRemoveClick);//点击删除按钮 } private function onAdd():void { //...
来源: Laya_社区 发布时间: 20170313
...async testWait10s() { return new Promise((resolve,reject)=>{ Laya.timer.once(10000,this,()=>{ console.log("10s后") resolve() }) }) } 如果有什么问题,欢迎大家一起来分享感恩。 附件 : --> regenerator.runtime_.zip 2020-07-05 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20200705
... = egret.WebSocket.TYPE_BINARY; this.socket.on(Laya.Event.OPEN, this, this.onConnect); this.socket.on(Laya.Event.CLOSE, this, this.onClose); this.socket.on(Laya.Event.ERROR, this, this.onIOError); this.socket.on(Laya.Event.MESSAGE, this, this.onMessage); this.socket.connect(host,port); } public on(e...
来源: Laya_社区 发布时间: 20180119
...pengl报错导致app重启 打包app运行一段时间,发现重新调用oncreate,看log发现opengl报错。 log如下: 2018-11-23 17:28:52.456 1657-1657/com.android.bluetooth E/BluetoothMapService: Unexpected error! 2018-11-23 17:28:52.459 10354-10354/com.xzgame.rainbow E/LayaBox: >>&g...
来源: Laya_社区 发布时间: 20181123
...oyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_height get_scaleX get_scaleY get_transform ...
来源: Laya3.0_api 发布时间: 20231115