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

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

661. 灯光-点光 [ 75%]

...res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); layaMonkey.once(Laya.Event.HIERARCHY_LOADED, this, function () { var aniSprite3d = layaMonkey.getChildAt(0); var animator = aniSprite3d.getComponentByType(Laya.Animator); animator.play(null, 1.0, 75, 110); }); var _position = new Laya.Vector3(); ...

来源: Laya_示例 发布时间: 20241001

662. Invalid character: '`' Stack:[native code]异常 [ 75%]

...[];                 }                 this.event(/*laya.events.Event.PROGRESS*/"progress",0.3+1 / toloadPics.length *0.6);                 return this._loadImage(toloadPics.pop());   2019-02-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

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

663. laya.d3.core.BaseCamera_API3.0 [ 74%]

...ld addChildAt addChildren addComponent addComponentInstance addLayer bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on on...

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

664. laya.d3.core.light.SpotLight_API3.0 [ 74%]

...ve addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on on...

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

665. Laya中的宏编译要怎么用啊 [ 74%]

...lash.display.StageAlign; import flash.display.StageScaleMode; import flash.events.Event; public class Main extends Sprite { public function Main():void { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(e:Event = null):void { removeEventListener(Event.ADD...

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

666. Laya.stage.on的Mouse事件,正常情况下没问题,但是Laya.stage.pos移动后就失灵了,请问如何解决? [ 74%]

...了,请问如何解决? 我这样设置的代码: Laya.stage.on(Laya.Event.MOUSE_UP, this, this.onMouse); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.onMouse); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.onMouse); 在frameLoop中,我让Laya.stage.pos(movex,movey)后,就再不会调...

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

667. Laya 问题合集 希望会的大神能帮我解答一下,谢谢 [ 74%]

...来,否则默认隐藏,我想到的是,update 里面放事件,Laya.Event.Click  ,但是不知道怎么表达,this. ? .on( Laya.Event.Click, this, function(){...})  问号那我应该填什么。。。 2018-12-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

668. 微信小游戏中加载unity导出的场景报错the .lh file root type must be Scene [ 74%]

...  Utils3D._createNodeByJson(this,json,this,innerResouMap);     this.event("hierarchyloaded",[this]);     this.__loaded=true;   }   打了一个log,发现data[0]读取出来的结果是"{",也就是说data被按照字符串读取了,而不是数组。   /**     *结束加载,...

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

669. 请问laya有没有类似翻页容器(pageView)的组件? [ 74%]

... (index > 5) index = 5; this.setCurPage(index) } public onMouse(e: Laya.Event, index: number): void { if (e.type == Laya.Event.MOUSE_DOWN) { this.m_downValue = this.list_rule.scrollBar.value; } else if (e.type == Laya.Event.MOUSE_UP || e.type == Laya.Event.MOUSE_OUT) { if (this.m_downValue > -...

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

670. spine 播放错乱 [ 74%]

...mplet(); this.templet.loadAni("spine/10101001.json"); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError); } private parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skelet...

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