大约有 290 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0061 秒)
...prite3D, priority: 1 } ]; Laya.loader.create(resource, Laya.Handler.create(this, onComplete), Laya.Handler.create(this, onLoading)); } function onLoading(progress){ console.log("加载进度: " + progress); } function onComplete(){ console.log('onComplete'); wx.showModal({ title: '提示', content: ...
来源: Laya_社区 发布时间: 20180426
... 186*****260 赞同来自: Rickshao 、qq771472501 Laya.timer.once(4000,this,function(){ console.log(Browser.window.sharedCanvas) var rankTexture=new Texture(Browser.window.sharedCanvas); rankTexture.bitmap.alwaysChange=true; console.log(rankTexture) LayaUISampl...
来源: Laya_社区 发布时间: 20180310
...re Laya.loader.load("../../res/apes/monkey2.png", Handler.create(this, function() { var t = Laya.loader.getRes("../../res/apes/monkey2.png"); var ape = new Sprite(); ape.graphics.drawTexture(t, 0, 0); Laya.stage.addChild(ape); ape.pos(200, 0); })); kezhiyu • 2018-06-04 14:38 ...
来源: Laya_社区 发布时间: 20180604
...用两次destroyJoint ;box2d.ENABLE_ASSERTS&&box2d.b2Assert(0<this.m_jointCount); 这句话会报错 2018-11-06 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 提供复现精简demo 2018-11-07 0 0 分享 微博 QZONE 微信 kura 赞同来自: 心塞 ,难道移除sprite时需...
来源: Laya_社区 发布时间: 20181106
...box.com/'>LayaBox欢迎你的加入!</span>"; div.on(Event.LINK,this,onLink); Laya.stage.addChild(div); } private function onLink(data:*):void { // TODO Auto Generated method stub Browser.window.location.href=data; }5、实现html页面跳转 示例如下: var iHtml:HTMLIframeElement=ne...
来源: Laya_社区 发布时间: 20161027
...算器步进时长 var timeStep:Object=1.0 / 60.0; box.timer.loop(1000/60,this,cannonUpdate); } private function cannonUpdate():void{ // 循环步进驱动解算 world.step(1.0 / 60.0); if(box.timer.currFrame %500 == 0){ sphereBody.velocity = new CANNON.Vec3(0,0,20) as Object; } box.transform.transl...
来源: Laya_社区 发布时间: 20170331
...ror(err => { console.error("MgInnerAudioChannel: " + getErrorMsg(err)); this.stop(); }); 报错位置在getErrorMsg解析错误信息, 最终导致的结果是什么呢, 无法播放长音频, 然后我把这个这段捕获错误的代码注释掉就能够正常播放. 具体报错的原因...
来源: Laya_社区 发布时间: 20250609
...id { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); this.init(); } private function init(e:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init); IFlash.setSize(960, 640); //2D项目中设置场景尺寸 IFlash.setOrientationEx(1); //是否为横屏模式 IFlash...
来源: Laya_社区 发布时间: 20151218
...HX0217401012320 Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. I/om.layabox.tes: Reinit property: dalvik.vm.checkjni= false D/ZrHung.AppEyeUiProbe: AppEyeUIP created. D/ActivityThread: Attach th...
来源: Laya_社区 发布时间: 20190723
...试Unity导出Anim后用Laya运行时_handleSpriteOwnersByClip函数中抛this._clips[clipIndex]._nodes为null的访问异常,Unity版本为2017.2.0f3,Laya引擎版本为1.7.13,请大神帮忙看看是怎么回事 TestAnim.rar 2018-01-03 3 4 分享 微博 QZONE 微信 cuixueying 赞同来自: ...
来源: Laya_社区 发布时间: 20170428