大约有 900 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0053 秒)
...rbtn.on(Laya.Event.MOUSE_UP,this,this.onItemMaster); _proto.onItemMaster = function(params){ var btn = params.currentTarget; console.log("----------------------- ",btn.tag);//我赋值是0,但这里调用获取是2?? } 2017-11-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...
来源: Laya_社区 发布时间: 20171120
...ollisionObject' of undefined 导微信小程序报错window.focus is not a function 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() 启动引擎报错 mPlugin.game_plugin_init(3); 用了ByteArray的zlib.min.js后报错 IDE通过.ui自动生成...
来源: Laya_社区 发布时间: 20181120
...alue isLocal: boolean = false Returns void off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...
来源: Laya3.0_api 发布时间: 20231115
...的枚举 enum ENUM_Effect{ null=0, popupEffect = 1, closeEffect = 2 }; function ENUM_ChangeString(enumObject) { let reslut=""; for (var entry in ENUM_Effect) { reslut=reslut+","+entry; } return reslut; } /** @prop {name:targetEffect, tips:"UI特效", type:ENUM_Effect, default:null}*/ private ta...
来源: Laya_社区 发布时间: 20191029
...ce/2.webm'; var video = new Laya.Video(); video.on('loadedmetadata', this, function() { console.info(video.width + ',' + video.height); Laya.stage.addChild(video); video.play(); }); video.load(video_url); Laya版本是1.7.4Beta Chrome 58下运行报错 laya.device.js增加跨域属性后解决 ...
来源: Laya_社区 发布时间: 20170508
...道么 调用动画结束on方法,报错this.zombieAnimator.on is not a function 如何判断是手机浏览器还是pc浏览器? 如何判断被加载的Swf里的MovieClip播放完成? 怎么判断是否在IOS设备上 tween complete 报错 以及如何判断对象正在缓动中 问题状态...
来源: Laya_社区 发布时间: 20190723
...区全部数据。 *@return 读取的字符串。 */ __proto.readUTFBytes=function(len){ (len===void 0)&& (len=-1); if (len==0)return ""; var lastBytes=this.bytesAvailable; if (len > lastBytes)throw "readUTFBytes error - Out of bounds"; len=len > 0 ? len :lastBytes; return this.rUTF(le...
来源: Laya_社区 发布时间: 20180822
...开发,直接写在代码中会报错,报错内容是:updateByZip is not a function(系统类库用的是1.7.12),调用这个函数的时候前面是用什么对象调用的呢?需要导入什么包吗? 附件 : --> 2017-12-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20171225
...动生成的ui代码报错 导微信小程序报错window.focus is not a function Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 问题状态 最新活动: 2018-08-22 15:34 浏览: 1077 关注: 2 人 zhubenshuli • 2018-08-22 16:29 是的,是在iOS项目里pod了网易...
来源: Laya_社区 发布时间: 20180822
... public class HelloLayaBox extends Sprite { public function HelloLayaBox() { Laya.init(600, 300); var txt:Text = new Text(); txt.text = "HelloLayaBox"; txt.color = "#ff0000"; ...
来源: Laya_社区 发布时间: 20171025