大约有 520 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0428 秒)
Laya_社区(399) Laya2.0_文档(39) Laya3.0_api(32) Laya_示例(19) Laya3.0_文档(15) Laya2.0_示例(9) laya_api(5) Laya2.0_api(2)
...}, {url:"res/Public@sl4615.mp3",type:laya.net.Loader.SOUND} ],Laya.Handler.create(this,onLoaded)); /*登录界面*/ var resArray=[ {url:"res/LoginView.fui",type:laya.net.Loader.BUFFER}, {url:"res/LoginView@atlas0.png",type:laya.net.Loader.IMAGE} ]; var loadcount=resArray.length; function onLoaded(...
来源: Laya_社区 发布时间: 20171207
...r completeHandler:Handler; public function A() { completeHandler = Handler.create(this,onComplete,[this]); completeHandler.run(); new B().load(completeHandler); trace('A',completeHandler.method == null,completeHandler['_id']) } private function onComplete():void { trace('haha') } } }package { import...
来源: Laya_社区 发布时间: 20170330
...ont.json",type:Loader.ATLAS}); Laya.loader.load(imgArr,Handler.create(this,onAssetLoaded),Handler.create(this,onProgress,null,false)); } (function() { function Lload() { Lload.__super.call(this); this.dh(); this.btn.on(Event.MOUSE_DOWN,g...
来源: Laya_社区 发布时间: 20160815
... // 初始化物理引擎 engine = Matter.Engine.create({ enableSleeping: true }); Matter.Engine.run(engine); var render = LayaRender.create({ engine: engine, ...
来源: Laya_社区 发布时间: 20180323
...W cpuMemory currentActive gpuMemory Methods _addReference _clearReference _create _end _removeReference _setCPUMemory _setCreateURL _setGPUMemory _start clear destroy end event getData getIsReady gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recycle restore start dest...
来源: Laya3.0_api 发布时间: 20231115
..., Render = Matter.Render, World = Matter.World, Bodies = Matter.Bodies; // create an engine var engine = Engine.create(); // engine.world.gravity.y = 0;//关闭重力 // create a renderer var render = Render.create({ element: document.body, engine: engine }); // create two boxes and a ground var box...
来源: Laya_社区 发布时间: 20170905
.../comp.atlas",type:Laya.Loader.ATLAS}] Laya.loader.load(tArray,Laya.Handler.create(this,onResLoaded())); 里面的button和checkbox提示丢失了。是什么原因?? 附件 : --> 2018-03-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20180325
... this._style === SpriteStyle.EMPTY && (this._style = SpriteStyle.create()); if( this._style == null){ this._style = SpriteStyle.create() } return this._style; } core.js vivo下getJSON报错兼...
来源: Laya_社区 发布时间: 20191017
...载。或者传入地址数组。即可加载多个模型 Laya.loader.create([ {url:"资源目录/模型名字.lh"}, {url:"同上.lh"}, {url:"同上"}, {url:"同上"}[code]],Handler.create(this,onLoaded)); 2018-05-29 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要...
来源: Laya_社区 发布时间: 20180529
...这不是个构造函数 "StartPage is not a constructor" StartPage: /**Created by the LayaAirIDE*/ var StartPage=(function(_super){ function StartPage(){ StartPage.__super.call(this); } Laya.class(StartPage,'view.StartPage',_super); return StartPage; })(StartPageUI) LayaSample: var LayaSample =...
来源: Laya_社区 发布时间: 20181029