大约有 4,111 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0102 秒)
Laya_社区(3330) Laya2.0_文档(296) Laya_示例(141) Laya3.0_文档(118) Laya2.0_示例(117) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...属性列表,比如{x:100,y:20,ease:Ease.backOut,complete:Handler.create(this,onComplete),update:new Handler(this,onComplete)}。 * @param duration 花费的时间,单位毫秒。 * @param ease 缓动类型,默认为匀速运动。 *...
来源: Laya_社区 发布时间: 20180621
...d(["images/scrollbar.png","images/scrollbar$bar.png"], Laya.Handler.create(this, panelContent)); function panelContent() { panel = new _this.Panel(); panel.size(1081, 507); panel.pos(153, 141); panel.zOrder = 21; panel.vScrollBarSkin = 'images/scrollbar.png'; panel.vScrollBar.elasticDistance = 100; ...
来源: Laya_社区 发布时间: 20180331
...bleHighAccuracy = true; Laya.Geolocation.watchPosition(Laya.Handler.create(this, this.updatePosition), Laya.Handler.create(this, this.onError)); 报错如下: TypeError: Cannot set property 'enableHighAccuracy' of undefined 会出现无法找到Laya.Geolocation的各类属性错误,请问该如...
来源: Laya_社区 发布时间: 20181217
...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
...大大看看, 地图的生成是按官方案列写的 添加方法如下 this.addChild(this.tiledMap.mapSprite()); 2017-10-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Monica - 知识达人 赞同来自: ...
来源: Laya_社区 发布时间: 20171010
...("读数据"); Laya.loader.load("Json/shopLevel.json", Laya.Handler.create(this, this.shopJsonLoaded), null, Laya.Loader.JSON); Laya.loader.load("Json/menu.json", Laya.Handler.create(this, this.menuJsonLoaded), null, Laya.Loader.JSON); } //读取商店等级配置表 shopJsonLoaded( ) { let json = L...
来源: Laya_社区 发布时间: 20220819
...p(); dialog.btn_question_dialog_next.on(Laya.Event.CLICK, this, onNext); dialog.radioGroup_question.labels = "如果资源未加载,则先加载资源,\n加载完成后应用于此对象。,"+"如果资源未加载,则先加载资源,\n加载完成后应用于此对象。,"+...
来源: Laya_社区 发布时间: 20180718
...显示的index单元格位置会有偏移,怎么控制单元格的位置 this._list.tweenTo(this._list.page, 500, isFresh ? Laya.Handler.create(this, this.refresh) : null);核心就这句,this._list.page在滑动的距离达到某个值时,就会调用,翻到下一页,左右翻页按钮去...
来源: Laya_社区 发布时间: 20180911
...400); Laya.loader.load("res/atlas/template/comp.json", Laya.Handler.create(this, onAssetLoaded2), null, Loader.ATLAS); function onAssetLoaded2() { Laya.class(MyBoot, "MyBootClass", MyPage2UI); var UI = new MyBootClass(); Laya.stage.addChild(UI); } function MyBoot() { MyBoot....
来源: Laya_社区 发布时间: 20160722
...? onTriggerEnter(e:Laya.RigidBody):void{ var cil:Laya.CircleCollider=this.owner.getComponent(Laya.CircleCollider); var rig:Laya.RigidBody=this.owner.getComponent(Laya.RigidBody); cil.enabled=false; rig.enabled=false; var self:Laya.Sprite= this.owner as Laya.Sprite; var ni:Laya.Animation=new Laya...
来源: Laya_社区 发布时间: 20190721