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

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

241. Laya2.0 动画Animator如何监听播放完成 [ 67%]

...tor:Laya.Animator;  onStateEnter(): void {  }  onStateExit(): void { if(this.animator) { this.animator.crossFade(AnimationDefine.IDLE,0.5,0,0); } }  onStateUpdate(): void {   } } 2018-11-20 0 0 分享 微博 QZONE 微信 haseef520s 赞同来自: 嗯嗯 谢谢了  2.0以后可以获取animator...

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

242. styles.xml报错 [ 67%]

...em 0 1em; margin: 1em; background-color: #fdd; color: black"> <h3>This page contains the following errors: </h3> <div style="font-family:monospace;font-size:12px">error on line 1 at column 53: attributes construct error </div> <h3>Below is a rendering of the page up ...

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

243. 向stage下的scene里添加物体时报错 [ 67%]

...博 QZONE 微信 时光123 赞同来自: 使用Laya.stage.addchild. 或。this.owner.addChild 一样的错 2022-08-09 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 时光123 相关问题 缓动Tween能用在3D...

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

244. 微信小游戏报错 [ 67%]

...ketTask.onmessage callback function 2、null is not an object (evaluating 'this._audio.play');at audioContext.onended callback function 3、Cannot read property 'play' of null;at audioContext.onended callback function 2、3应该是一样的 layaide 版本 1.7.16 微信开发者工具 版本 1.02.18...

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

245. 我照着例子做的换装例子切换不了卡槽的图片,附件为我的demo,请帮忙看看 [ 67%]

...子切换不了卡槽的图片,附件为我的demo,请帮忙看看 if (this.currTexture && Render.isWebGL && this.currDisplayData.type==0 && this.currDisplayData.uvs){ this.currTexture=this.currDisplayData.createTexture(this.currTexture); } 跟代码发现this.currDisplay...

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

246. ToolTip鼠标悬停的使用 [ 67%]

...e.bgColor="#eeffcc"; Laya.loader.load("res/atlas/comp.json",Handler.create(this,onLoaded),null,Loader.ATLAS); } private function onLoaded():void { this._testTip=new TestTipsUI();//务必在Laya.init后去new实例,不可直接在全局变量处实例化 //切记,无论何种鼠标提示方式,...

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

247. 关于微信小游戏渲染子域图的问题 [ 67%]

...undle.js:8383:15)   说是Texture类value && (value._addReference(this._referenceCount)); 这里value._addReference没有,value是个[object HTMLCanvasElement],,死活都画不出来,,   主域代码 Laya.timer.once(2000, this, function():void{ var sprite:Sprite = new Sprite(); s...

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

248. layaAirIDE 打包APK 后 真机运行报错 [ 67%]

...e;Laya.stage.addChild(i)}!function(){createApes()}(function(){function i(){this.BG_WIDT ReferenceError: createApes is not defined at BG_WIDTH (http://stand.alone.version/main.min.js:1:149) at eval (http://stand.alone.version/main.min.js:1:162) at eval (native) at Document._downloadOk (apploader.js:6...

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

249. 嵌套类型的protobuf报错 [ 67%]

...  这种嵌套类型的proto decode的时候报错   Uncaught TypeError: this.clazz is not a constructor     at Message.ProtoBuf.Reflect.MessagePrototype.decode (protobuf.js?tick=17185:3213)     at Element.ProtoBuf.Reflect.ElementPrototype.decode (protobuf.js?tick=17185:2201)     at Field.Pr...

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

250. laya.filters.NativeFilter_API3.0 [ 67%]

...个 Filter 实例。 Returns NativeFilter Methods Static _filter _filter(this: RenderSprite, sprite: Sprite, context: any, x: number, y: number): void Defined in laya/filters/NativeFilter.ts:36 Parameters this: RenderSprite sprite: Sprite context: any x: number y: number Returns void Globals "laya/f...

来源: Laya3.0_api 发布时间: 20231115