大约有 1,499 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0060 秒)
...n来做。 Laya.stage.on(Laya.Event.CLICK, this, function(res:Laya.Event){ if (res.target instanceof Laya.Button){ // click button } }) 2018-12-01 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 183*****288 相关问题 两个对象new了...
来源: Laya_社区 发布时间: 20180706
...--------- var aniData=_this_._parseGraphicAnimation(Loader.getRes(url)); if (!aniData)return; var aniList=aniData.animationList; var i=0,len=aniList.length; --------源码--------- 报错: aniList.length为null "Cannot read property 'length' of null" 2018-07-19 添加评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20180719
...s,onLoop); private function onLoop():void { progress++; //最高100%进度 if(progress>=100) { progress=100; this.tips.text="游戏加载完毕,即将进入游戏..." this.panel.visible=false; this.gobtn.visible=true; }else { this.pro.value=progress/100; this.tips.text="游戏正在加载中,...
来源: Laya_社区 发布时间: 20180121
...imator: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以后可以获取animat...
来源: Laya_社区 发布时间: 20181109
....name = type + ""; this.showFight(fight); } showFight(num: number): void { if (this._sprFight) this._sprFight.graphics.clear(); this._sprFight = bigao.utils.TextrueUtils.getNumberByUrl(resourcesCenter.ResourcesPathStr.FIGHT_NUMBER_PATH_PNG, num.toString()); this._sprFight.x = 600; this._sprFight.y =...
来源: Laya_社区 发布时间: 20170916
...re = Laya.loader.getRes("res/mainpage/title.png"); if(titleT==null){ trace("none"); } } 加载成功后纹理是空的 2017-10-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...
来源: Laya_社区 发布时间: 20171001
....frameLoop(1, this, this.addMiniBox); } addMiniBox() { let box = this.box; if (this.count >= this.totalBox) { return; } let sp = new Laya.Sprite(); Laya.Laya.stage.addChild(sp); sp.x = box.x; sp.y = box.y; sp.addComponent(Laya.RigidBody); let collider = sp.addComponent(Laya.BoxCollider); collider.wi...
来源: Laya2.0_示例 发布时间: 20260303
...,function(){ Browser.__init__(); if (!Browser._container){ Browser._container=Browser.createElement("div"); Browser._container.id="layaContainer"; Browser.document.body.appen...
来源: Laya_社区 发布时间: 20170419
...function(a) { let ba=0; while(true){ ba = this.m_moveBuffer.indexOf(a,ba); if(ba<0)break; this.m_moveBuffer[ba] = null } } ; 2020-11-21 0 0 分享 微博 QZONE 微信 Leon 赞同来自: 遇到过,后面直接在'GetType' 那里加了非空判断 2019-04-08 0 1 分享 微博 QZONE 微信 与你...
来源: Laya_社区 发布时间: 20190407
...1, null, drawMask); var index:int = 0; function drawMask():void { index++; if(index > 72) index = index-72; var angle:int = index*5; spr.mask.graphics.drawPie(0,0,100,0,angle, "#ffffff"); } 2018-05-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20180502