• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,550 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0098 秒)

971. 导出微信小游戏代码报错gameThirdScriptError [ 67%]

...gameThirdScriptError (unknown) gameThirdScriptError Cannot read property 'events' of undefined TypeError: Cannot read property 'events' of undefined     at Function.EventDispatcher.__init$ (http://127.0.0.1:52880/game/code.js:630:29)     at http://127.0.0.1:52880/game/code.js:14:71     at Arra...

来源: Laya_社区 发布时间: 20180504

972. laya.d3.core.particleshuriken.ShurikenParticleMaterial_API3.0 [ 67%]

...tCreateURL _setGPUMemory addDefine clone cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getText...

来源: Laya3.0_api 发布时间: 20231115

973. QQ玩一玩 API 中没有 BKLaya.tools.BinaryLoader 的定义 [ 67%]

...序API dialog 自定义关闭效果,效果执行完,弹窗无法关闭 event自定义事件的问题 写了个边缘光的自定义shader,有很多问题,帮忙看一下 layaair2.0)请问js的Laya.Event.FRAME怎么用,看api中有,但写了不执行。 请问如何使我的自定义类...

来源: Laya_社区 发布时间: 20180328

974. 使用外部引擎播放layaair制作的.ani [ 67%]

...舞台 Laya.stage.addChild(tl); //播放Animation动画 tl.play(); tl.on(Event.COMPLETE, this, () => {console.log('end')}); } 2018-08-23 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zyx 相关问题 看了其他引擎才发现 LAYA ...

来源: Laya_社区 发布时间: 20180817

975. replaceSlotSkinName对于spine换肤不成功 [ 67%]

...0,Laya.WebGL); this.m_templet = new Laya.Templet(); this.m_templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.m_templet.on(Laya.Event.ERROR,this,this.onError); this.m_templet.loadAni("res/spine/goblins/goblins.sk"); } private onError():void { console.log("parse error"); } private parseC...

来源: Laya_社区 发布时间: 20180126

976. 关于 layaAir pc 移动端 运行的时候,在最小化之后问题 [ 67%]

...js下的setinterval参数。 2、同上 3、你可以为你的舞台监听Event.FOCUS和Event.BLUR是否获取焦点抑或失去焦点即可判断浏览器是否最小化 4、建议你做个断线链接试下 ,有问题我们再沟通!   2017-06-01 0 0 分享 微博 QZONE 微信 为什么被折...

来源: Laya_社区 发布时间: 20170531

977. 鼠标事件:为什么没有设置穿透,也会发生穿透现象? [ 67%]

...             this.addChild(bg2);             bg2.on(laya.events.Event.MOUSE_DOWN,this,test); } ================== public static function createSprite(url:String,c:Boolean = false):Sprite {             var sp:Sprite = new Sprite();             sp.loadImage(url); ...

来源: Laya_社区 发布时间: 20161223

978. web端ios这边加载压缩的图片加载报错 [ 67%]

...修改 complete(data) { this._data = data; if (this._customParse) { this.event(Event.LOADED, data instanceof Array ? [data] : data); } else { this._http.offAllCaller(this); Loader._loaders.push(this); if (!Loader._isWorking) Loader.checkNext(); } } 2020-02-17 0 0 分享 微博 QZONE 微信 为什么...

来源: Laya_社区 发布时间: 20200214

979. LoginView.super(this);这样调用的父类的构造函数的方法,不能用吗 [ 67%]

...w = function () {     LoginView.super(this);     this.btnReg.on(Laya.Event.CLICK, null, function () {         console.log("on btReg event")     }); } 目前编辑的代码辅助,好像还是无法获得父类的成员变量比如 btnReg。这是视频提到的一个ide的功能bug ...

来源: Laya_社区 发布时间: 20170317

980. Laya.loader.load 加载场景报错 [ 67%]

...o.addChild (laya.core.js:13290) at Main.<anonymous> (Main.ts:148) at EventHandler.__proto.runWith (laya.core.js:1399) at ResInfo.__proto.event (laya.core.js:1156) at LoaderManager.__proto._endLoad (laya.core.js:14773) at Loader.onLoaded (laya.core.js:14743) at EventHandler.__proto.runWith (lay...

来源: Laya_社区 发布时间: 20181208