大约有 4,000 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0078 秒)
Laya_社区(3251) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_api(94) Laya3.0_文档(86) Laya2.0_api(9) laya_api(6)
Laya.timer.frameLoop 在初始化的时候 Laya.timer.frameLoop(1,this,this.update); 设置每帧执行函数 程序运行一段时间后 update函数不执行了; 2018-05-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 ...
来源: Laya_社区 发布时间: 20180502
...据完毕后触发这个方法 GameMain.prototype.onLoad = function () { this.mainUI = new MainUI(); dataSource = ; this.allData = ["深发展A", "南坡A", "铜陵有色", "丰林集团", "泰瑞科技", "贵绳股份", "华谊兄弟", "光洋股份", "南京港", "华铁科技", "宝塔实业", "...
来源: Laya_社区 发布时间: 20170207
...答下啊! private connect(): void { console.log("connect...."); this.hr = new Laya.HttpRequest(); this.hr.once(Laya.Event.PROGRESS, this, this.onHttpRequestProgress); this.hr.once(Laya.Event.COMPLETE, this, this.onHttpRequestComplete); this.hr.once(Laya.Event.ERROR, this, this.onHttpRequest...
来源: Laya_社区 发布时间: 20201023
...码为按钮点击后 出现popup并且模拟进度条加载 按钮代码: this.testLoadingBar_anim.on(Event.CLICK,this,()=>{ var loading : Onloading = new Onloading(); loading.popup(true); Laya.timer.loop(100, this, loading.changeValue); }); 进度条代码: import Handler = La...
来源: Laya_社区 发布时间: 20180524
... Laya.stage.height / 2); Laya.stage.addChild(sp2); Laya.timer.frameLoop(1, this, animate); } function animate(e) { sp1.rotation += 2; sp2.rotation += 2; } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL...
来源: Laya_示例 发布时间: 20241002
...uojianfei 赞同来自: pc测试啊,一个按钮注册两次必现啊 this.sureBtn.on("click",this,this.onSurebtn); this.sureBtn.on("click",this,this.enterGame); 都会执行啊 2017-04-11 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发...
来源: Laya_社区 发布时间: 20170411
...esult=new Laya.HitResult() physics:Laya.PhysicsSimulation; onAwake():void{ this.camera = this.owner.getChildByName("Main Camera") as Laya.Camera; let scene: Laya.Scene3D = this.owner.scene as Laya.Scene3D; this.physics=scene.physicsSimulation; console.log("相机位置",(this.owner.getChild...
来源: Laya_社区 发布时间: 20190621
...; Laya.stage.bgColor = "#232628"; Laya.loader.load(apePath, Handler.create(this, setup)); })(); function setup() { createApe(); applayFilter(); } function createApe() { ape = new Sprite(); ape.loadImage(apePath); var texture = Laya.loader.getRes(apePath); ape.x = (Laya.stage.width - texture.width) /...
来源: Laya_示例 发布时间: 20241002
...发语言、LayaAirIDE让项目开发更高效。Laya3D.init(0, 0, true); this.rotation = new Laya.Vector3(0, 0.01, 0); this.specularMapUrl = ["../../res/threeDimen/skinModel/dude/Assets/dude/headS.png", "../../res/threeDimen/skinModel/dude/Assets/dude/jacketS.png", "../../res/threeDimen/skinModel/d...
来源: Laya_示例 发布时间: 20241002
...s/ui/listskins/1.jpg"); data.push("../../res/ui/listskins/2.jpg"); } this._ui.serverList.vScrollBarSkin = ""; this._ui.serverList.selectHandler = new Handler(this, this.onSelect); this._ui.serverList.renderHandler = new Handler(this, this.onUpdateItem); //this._ui.serverList.array = this._load...
来源: Laya_社区 发布时间: 20170924