大约有 1,499 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0065 秒)
...Reveived(message: any = null): void { console.log("Message from server:"); if (typeof (message) == 'string') { console.log(message); } else if (message instanceof ArrayBuffer) { console.log(new Byte(message).readUTFBytes()); } // 清理缓存的服务端发来的数据 this.socket.input.clear(); } /...
来源: Laya3.0_文档 发布时间: 20250104
... ]; var blackTextfilter = new Laya.ColorFilter(blackColorMat); if(blackTextfilter){ this.textField.filters = [blackTextfilter]; } 我通过以上的方式创建一个颜色滤镜;但是blackTextfilter这个new之后返回的是undefined的,请问什么情况下会创建失...
来源: Laya_社区 发布时间: 20190822
...preLoadMap里存不存在 var pre=Loader.preLoadedMap[URL.formatURL(url)]; if(pre){ return pre; } return Loader.loadedMap[URL.formatURL(url)]; } 2019-07-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20190717
dragonbones换装 当我切换某个卡槽的图片的时候没有效果 if (this.currTexture && Render.isWebGL && this.currDisplayData.type==0 && this.currDisplayData.uvs){ this.currTexture=this.currDisplayData.createTexture(this.currTexture); } 跟代码发现this.currDisp...
来源: Laya_社区 发布时间: 20180131
... 已邀请: 与内容相关的链接 提交 2 个回复 hj 赞同来自: if( window.conch ) 这个只有app 才能走进去,,浏览器走不进去,拿这个判断是不是app 2018-09-08 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 另外 Browser类可以看一下 判断h5 所在环...
来源: Laya_社区 发布时间: 20180904
...下才有的东西,你直接运行肯定找不到,你需要做下判断if(window["conch"]) 2017-06-12 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 cwugs 相关问题 ide 2.4 layaair2-cmd 编译报错 laya2.0加载3d场景报错Unca...
来源: Laya_社区 发布时间: 20170612
...数作用域问题 1. this.btn_Login.on(Laya.Event.CLICK, null, ()=>{ if (this.loginDig) { this.loginDig.removeSelf(); this.loginDig.destroy(); } 2.this.btn_ok.on(Laya.Event.RIGHT_CLICK, this, this.OnBut_Open); OnBut_Open() : void { this.removeSelf(); this.destroy(); } 就是这两个函数,是...
来源: Laya_社区 发布时间: 20161202
...ive类型下 启动动画如何关闭 var loadingView= window.loadingView; if(loadingView) { loadingView.loadingAutoClose=true; loadingView.loading(100); }构建的AndroidStudio项目 在config.js如上设置 可是启动时还有默认的动画 如何在启动时不显示这个动画呢? 2017-06-...
来源: Laya_社区 发布时间: 20170613
...2018-11-09 15:22 根据判断它当前所处的位置进行不同的操作 if(y>1000){ }else{ }
来源: Laya_社区 发布时间: 20180530
...请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: if( window.conch ) { window.conch.showAlertOnJsException(false); } 你调下这个看下! 2017-06-20 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 archerxy 相...
来源: Laya_社区 发布时间: 20170620