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

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

321. 龙骨动画的监听回调,有时能回调,有时不能回调 [ 61%]

...c initTemplet(){ this.mFactory = new Laya.Templet(); this.mFactory.on(Laya.Event.COMPLETE, this, this.parseComplete); // this.mFactory.on(Laya.Event.STOPPED,this,this.parseComplete); this.mFactory.on(Laya.Event.ERROR, this, this.onError); this.mFactory.loadAni("res/games/Game_ddz/animation/ddz_figur...

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

322. laya.components.AnimationClip2D_API3.0 [ 61%]

...earReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory addEvent destroy duration event hasListener hermiteCurveSplineWeight isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Object literals tween Constructors constructor new AnimationClip2D(): AnimationClip2D Ov...

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

323. 没有预加载的图片怎么获取width和height ? [ 61%]

...eying • 2017-01-18 12:21 再图片加载完成后,可以先侦听一个Event.LOADED事件,再回调里去获取getBounds值 qq502416708 • 2017-01-18 15:32 能写几句示例吗?图片是网络传过来的用户头像 cuixueying • 2017-01-19 15:38 就是获取你图片所在容器的getBo...

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

324. Laya.loader.load 加载场景报错 [ 61%]

...o.addChild (laya.core.js:13290) at Main.<anonymous> (Main.ts:148) at EventHandler.__proto.runWith (laya.core.js:1399) at ResInfo.__proto.event (laya.core.js:1156) at LoaderManager.__proto._endLoad (laya.core.js:14773) at Loader.onLoaded (laya.core.js:14743) at EventHandler.__proto.runWith (lay...

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

325. 关于遍历产生的sprite的点击事件,急,大神帮看哈 [ 61%]

...for遍历下对sp进行CLICK的监听即可,sp.size(xxx,xxx);sp.on(Event.CLICK,this,onSpClick) 3、点击sp时,直接获取sp.index值即可(e.target.index)! 2017-02-21 1 0 分享 微博 QZONE 微信 lift6220819 赞同来自: q395212409 Laya.init(640,1010); Laya.stage.scaleMode = Laya....

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

326. unity里导出的骨骼动画无法读取 [ 61%]

...       scene.addChild(role3D);              role3D.once(Event.HIERARCHY_LOADED, this, function():void{                 //获取Animator动画组件                 zombieAnimator = (role3D.getChildAt(0) as Sprite3D).getComponentByType(Animator) as An...

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

327. list中的item类中的button注册事件不响应 是怎么回事呢 ?可以帮帮我解答下吗 [ 61%]

...this.size(Item.WID, Item.HEI); this.initBuild(); this.skin_btn_use.on(Laya.Event.CLICK,this,this.onSkinBtnUseClick) } private onSkinBtnUseClick(){ console.log("使用"); }   //btn 有宽高 2018-08-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

328. 绘制形状时事件不触发 [ 61%]

...e.graphics.drawCircle(x, y, r1, color1, color1, 0);     function on_down(event) {         console.log("_____ kbRing2\n");     } } function laya_test() {     Laya.init(Laya.Browser.clientWidth, Laya.Browser.clientHeight, Laya.WebGL);     var ring = new myRing(600, 300, 18, "#087729", 40,...

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

329. laya.d3.core.trail.TrailSprite3D [ 61%]

...asses | Index | Frames No Frames TrailSprite3DProperties | Methods | Events Packagelaya.d3.core.trailClasspublic class TrailSprite3DInheritanceTrailSprite3D RenderableSprite3D Sprite3D Node EventDispatcher Object TrailSprite3D 类用于创建拖尾渲染精灵。 Public Properties Hide Inheri...

来源: Laya2.0_api 发布时间: 20190513

330. stage以内,设计内容以外的事件 [ 60%]

...开始,我用ts编写的相关内容,都要使用import和export吗? event自定义事件的问题 点击事件不起效 鼠标滚轮滚动事件 3d物理不能触发onCollisionEnter事件 为什么给Sprite容器添加点击事件没反应 List滑动条会引起单元格上的按钮点击后...

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