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

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

71. TimeLine调用destroy报错&执行完成后回到起点 [ 81%]

..., alpha:1},2000,null,0); timeLine.play(0,true); timeLine.on(Event.COMPLETE,this,this.onComplete); timeLine.on(Event.LABEL, this, this.onLabel); } private function onComplete():void { trace("timeLine complete!!!!"); timeLine.pause(); timeLine.destroy(); // Laya.timer.frameOnce(10, this, dispose); } ...

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

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

...tion 具体代码如下:    Laya.Sprite3D.load(url, Laya.Hander.create(this, this.onLoadComplete)) (不会报错)    Laya.loader.create(url, Laya.Hander.create(this, this.onLoadComplete))(会报错)   private onLoadComplete(){     const scene = new Laya.Scene3D()     Laya.stage.addChild(...

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

73. laya2.2.0发布layanative(安卓),运行后报错 [ 81%]

...报错 laya2.2.0发布layanative(安卓),运行后报错    TypeError: this._nativeObj.addGlobalValueDefine is not a function             return this._nativeObj.addGlobalValueDefine(modifyType, type, size, defaultData);                                    ^^          ...

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

74. MeshSprite3D在加了physicsCollider和Rigidbody3D后,调用destroy会报错 [ 81%]

...csCollider和Rigidbody3D后,调用destroy会报错 示例代码如下: this.capsule = new Laya.MeshSprite3D(new Laya.CapsuleMesh(0.5, 1)); var capsuleCollider:Laya.PhysicsCollider = this.capsule.addComponent(Laya.PhysicsCollider);//网格触发器 var capsuleShape:Laya.CapsuleColliderShape = new...

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

75. 救命啊,遇到苹果爸爸 Guideline 2.5.2 [ 81%]

...5.2 and section 3.3.2 of the Apple Developer Program License Agreement.   This code, combined with a remote resource, can facilitate significant changes to your app’s behavior compared to when it was initially reviewed for the App Store. While you may not be using this functionality currently, it...

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

76. exception info:[TypeError:undefined is not an object(evaluating'tInfo[0].attributes')] at line 764 [ 81%]

...Font();         blueFnt.loadFont("common/number_blue.fnt", new Handler(this, () => {             Laya.Text.registerBitmapFont("number_blue", blueFnt);         })); 但具体原因不清楚 能否请官方测试下bmfont在iphone上运行情况     2017-05-23 0 0 分享 微博 QZON...

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

77. Animation提示未定义 [ 80%]

Animation提示未定义 function FarmIndexView() { FarmIndexView.super(this); this.aniCloud = new Animation(); this.aniCloud.loadAnimation("AniCloud.ani"); Laya.stage.addChild(this.aniCloud); }报错 Uncaught ReferenceError: Animation is not defined 2017-10-26 添加评论 免费帖 --> 分享 微...

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

78. [LayaAir3]挂在scene3d节点上的脚本,onAwake(){ Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.onMouseDown); } 点击就报错 [ 80%]

...cene3d节点上的脚本,onAwake(){ Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.onMouseDown); } 点击就报错  挂在scene3d节点上的脚本,onAwake(){ Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.onMouseDown);} 点击就报错 附件 : --> 2023-12-20 添加评论 免费帖 --> 分...

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

79. TypeError: Laya.Browser.window.conch.setFontFaceFromBuffer is not a function [ 80%]

...序报错window.focus is not a function 调用动画结束on方法,报错this.zombieAnimator.on is not a function laya加载unity插件导出的场景 physics3D is not a function 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of u...

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

80. laya加载unity插件导出的场景 physics3D is not a function [ 80%]

...直接使用页面定义的属性(通过IDE内var属性定义),比如this.tipLbll,this.scoreLbl,具有代码提示效果 * 建议:如果是页面级的逻辑,需要频繁访问页面内多个元素,使用继承式写法,如果是独立小模块,功能单一,建议用脚本方...

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