大约有 495 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0038 秒)
LayaAir引擎 Byte writeArrayBuffer的Bug __proto.writeArrayBuffer=function(arraybuffer,offset,length){ (offset===void 0)&& (offset=0); (length===void 0)&& (length=0); if (offset < 0 || length < 0)throw "writeArrayBuffer ...
来源: Laya_社区 发布时间: 20180328
protobuf使用 protobuf使用 有没有完整的例子呀? 在html中要如何引用第方库,是这样吗?第三方库是要在主程序之前引用还是在之后引用呀 <script src='res/protobuf.js' type='text/javascript'></script> <script src='res/bytebuffer.js' type='tex...
来源: Laya_社区 发布时间: 20170218
...0][0],tag:0}; box.on(Laya.Event.MOUSE_UP,this,this.onclick,[arr]); var _proto = StorageUILayer.prototype; _proto.onclick = function(params){ console.log("--------------------------------hhhhhhhhhhh- "); } ---------------------------------------------------------- 麻烦看下,这个为何...
来源: Laya_社区 发布时间: 20171113
Protobuf decode报错 使用protobuff 连接socket , socket约定的格式:length(整形),消息号(整形) ,消息体(buffer) 1.发送给服务器正常,也可以接受到服务区的消息 //已经加载完了.proto文件 var awesomMsg:any=root.lookup("com.lll.game....
来源: Laya_社区 发布时间: 20171113
... been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. __proto.send @ laya.core.js:23023 laya.core.js:23075 /Users/andyzu/Desktop/LayaGame/demo/myLaya/bin/version.json Request failed Status:0 text: __proto.error @ lay...
来源: Laya_社区 发布时间: 20190718
...报 TypeError:Cannot read property '_create' of null at Animation._proto.timerLoop(file:///f:/........./bin/libs/laya.core.js:9493:14) at Animation._proto.play(file:///f:/....../bin/libs/laya.core.js:16351:10) 请问各位大神这是怎么回事呢? 附件 : --> happyFarm.rar 2017-...
来源: Laya_社区 发布时间: 20171028
...步会的url为“”的时候,会执行this.onLoaded(null)这一步_ _proto.load=function(url,type,cache,group,ignoreCache,useWorkerLoader){ (cache===void 0)&& (cache=true); (ignoreCache===void 0)&& (ignoreCache=false); (useWorkerLoa...
来源: Laya_社区 发布时间: 20200427
... 之前的版本中,set方法为/** *获取对象的宽 */ __getset(0,__proto,'width',function(){ if (this._width)return this._width; return this.contextWidth; },[b]_super.prototype._$set_width[/b]);此次出问题的版本为/** *获取对象的宽 */ __getset(0,__proto,'width',function(){ if (th...
来源: Laya_社区 发布时间: 20170620
...个棋牌游戏,使用了socket.io,进入页面的时候代码如下: _proto.onlineClick = function(){ var gold = StorageHelper.getUserGold(); if(gold > 500){ Online.joinGame().then(function(data){ console.log(data); StorageHelper.setDeskNo(data.desk.deskNo); StorageHelper.setDeskSeat(data.ow...
来源: Laya_社区 发布时间: 20171219
... } Laya.class(Test01, 'view.Test01', _super); var _proto = Test01.prototype; _proto.preload = function (complete) { console.log("preload..." + (++this.numPreloadCalls)); if (this.dragon_sk._templet) { complete...
来源: Laya_社区 发布时间: 20180622