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

大约有 1,758 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0063 秒)

411. 参考alert 写的方法 [ 66%]

...: 1058 关注: 2 人 deng2017 • 2017-06-20 14:30 package view { public function alertpp():void { } } 使用flash develop 编译 生成不了该代码 view.alertpp=function(){} cuixueying • 2017-06-20 15:20 不建议这么去写代码,容易出问题,最好还是按照正常的函数写法来...

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

412. 开放域项目报错 [ 66%]

...错 runtime运行报错! 导微信小程序报错window.focus is not a function Adobe Flash Builder 4.7无法编译Laya2.6.1创建的3D示例项目 本地调试加载本地图片都报错 问题状态 最新活动: 2019-08-15 09:32 浏览: 1225 关注: 2 人

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

413. 引擎是否可以针对支持webgl2的机型做自动切换为webgl [ 66%]

...换为webgl 部分机型下会出现 this._gl.createVertexArray is not a function. (In 'this._gl.createVertexArray()', 'this._gl.createVertexArray' is undefined);at requestAnimationFrame callback function   这种情况这边判断是不支持webgl2,是否又方法直接判断手机是否支持we...

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

414. 运行新项目时,报错找不到模块 [ 66%]

... ImageData is not defined? 导微信小程序报错window.focus is not a function 问题状态 最新活动: 2019-07-31 18:37 浏览: 1603 关注: 2 人 156*****220 • 2019-08-05 10:13 感谢,已解决

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

415. as编译器1.7.5beta的问题 [ 65%]

...代码片段,感觉是编译器的问题。。麻烦解答一下 public function addAssets(assets:Array,loadedFun:Function = null):void { var path = formatString("assets/otherAssets/" + file, STLConstant.scale); } package starling.utils { // TODO: add number formatting options /** Formats a String...

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

416. 求助。资源加载问题,按照官方demo出现问题 [ 65%]

...会提示laya.core.js:12752 Uncaught TypeError: node._setParent is not a function 具体代码如下:    Laya.Sprite3D.load(url, Laya.Hander.create(this, this.onLoadComplete)) (不会报错)    Laya.loader.create(url, Laya.Hander.create(this, this.onLoadComplete))(会报错)   private onLoad...

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

417. 发布微信小游戏声音问题 [ 65%]

...   Invalid value used as weak map key;at audioContext.oncanplay callback function TypeError: Invalid value used as weak map key Invalid value used as weak map key;at audioContext.onended callback function TypeError: Invalid value used as weak map key 2018-01-14 添加评论 免费帖 --> 分享 微...

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

418. LAYA js 1.7.12 Tween 使用时回调时 core报错 [ 65%]

...用完全一样的代码,提示 Uncaught TypeError: handler.run is not a function at Tween.__proto.complete (laya.core.js:9423) 9423 :handler && handler.run(); 你们自己试试吧。。为啥要。&&run() 2017-11-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

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

419. unity出现报错"Array index is out of range" [ 65%]

...mPlugin.game_plugin_init(3); 导微信小程序报错window.focus is not a function 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() 发布H5后通过网页打开出现左上角的那个图标是什么东东 怎么去掉 2.2-2.3版本 ani动画...

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

420. 我想在动画播放结束后加一个事件,怎么加? [ 65%]

... 赞同来自: geo 监听_ani的完成事件 _ani.on(EVENT.COMPLETE, this, function(){}); 2018-04-28 1 0 分享 微博 QZONE 微信 fool_tiger 赞同来自: 谢谢! 2018-05-02 0 0 分享 微博 QZONE 微信 AlexNine 赞同来自: 可以直接在play后面加个回调 function playAni(aniPath,fn=fa...

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