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

大约有 272 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0057 秒)

181. 关于对象类型判断 [ 63%]

...显示对象的类型,之前用is 关键字来判断的。 如: public function clickHandler(evt:Object):void {    if(evt.target is Button) { trace("......."); } }   现在这样会报错  提示laya is not deine  请问这个问题该如何判断? 2019-09-12 添加评论 免费帖 --> ...

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

182. 1.7.13 版本 musicVolume 和setMusicVolume 设置音量 音乐会重新从开始播放 [ 63%]

...来自: 我这里只有 代码 和背景音乐 //播放背景音乐 public function gameSoundPlay():void {      SoundManager.playMusic("GameSound/bgSound.mp3", 0); } //音量调节 public function yyHSliderChanged(parm):void { SoundManager.setMusicVolume(parm/100); } bgSound.rar 2018-03-30 0 7 ...

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

183. Laya.SoundManager.playSound函数参数意义 [ 63%]

... 绘制次数和坐标,怎么写啊, 执行回调函数时报is not a function http 请求 once 的 回调参数,如何传递和接收? MOUSE_OVER注册的响应函数,如果鼠标一直在动,多久会执行一次,一帧吗?和frameLoop一样? Uncaught Error:此函数id(167)...

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

184. Native下http请求,Error事件中的error对象错误码全都是404 [ 63%]

...ler); this.hr.send($url, $data, $method, $responseType, $headers); private function onHrCompleteHandler():void { if(this.completeHandler) { this.completeHandler.runWith(this.hr.data); } } private function onHrErrorHandler($error:String):void { if(this.errorHandler) { this.errorHandler.runWith($error...

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

185. 无法触发浏览器文件上传框 [ 63%]

...t; var btn = document.getElementById('btn'); btn.addEventListener('click', function(){ document.getElementById("file").click(); }); </script> </body> </html>我想你理解错了,我是想触发原生js的事件,不是去监听,我把两种的demo都上传了,你们可以...

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

186. json解析,中文报错 [ 63%]

...Unexpected token in JSON at position 23;at api readFile success callback function SyntaxError: Unexpected token in JSON at position 23 2018-07-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来...

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

187. 苹果上架问题, [ 62%]

...designed explicitly with the capability to change your app’s behavior or functionality after App Review approval, which is not in compliance with App Store Review Guideline 2.5.2 and section 3.3.2 of the Apple Developer Program License Agreement. This code, combined with a remote resource, can ...

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

188. 怎么可以彻底释放图片资源,不需要关心是否在使用 就是要强制释放掉制定的图集的内存 [ 62%]

...);//资源释放resource.dispose(); Uncaught TypeError: r.dispose is not a function       这个dispose方法 没有 提示 2019-05-31 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 187*****595 相关问题 laya针对页游耗用内...

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

189. U3D插件导出问题 [ 62%]

...什么会跳帧。 laya加载unity插件导出的场景 physics3D is not a function 新版2.0.0beta,vim插件不能用 2.0.2beta unity插件window10系统报错 2.7.x 引擎插件发布bug fbxtools 在哪里下载啊?在 工具菜单>3D转换工具 里下载的只有 unity3d 的插件 分享:...

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

190. WorkerLoader在3D项目下不能用? [ 62%]

...了drawToCanvas方法的么?一调用就会提示gl.readPixels is not a function。如果不能用的话,有没有其它替代方案? 用ts写代码 能用npm包吗 还有es6语法 问题状态 最新活动: 2017-11-07 19:29 浏览: 989 关注: 2 人 chenzp2031453 • 2017-11-07 20:17 只是...

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