大约有 494 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0047 秒)
... } __class(Prefab,'laya.components.Prefab'); var __proto=Prefab.prototype; /** *通过预制创建实例 */ __proto.create=function(){ if (this.json)return SceneUtils.createByData(null,this.json); return null; ...
来源: Laya_社区 发布时间: 20181102
...I(){ testUI.__super.call(this); } CLASS$(testUI,'ui.testUI',_super); var __proto__=testUI.prototype; __proto__.createChildren=function(){ laya.ui.Component.prototype.createChildren.call(this); this.createView(testUI.uiView); } testUI.uiView={"type":"Dialog","props":{"width":266,"height":720},"child"...
来源: Laya_社区 发布时间: 20180325
...btCollisionObject' of undefined bundle.js:68723 at PhysicsCollider.__proto._onAdded (/Users/admin/layaA4/layaA4/bin/js/bundle.js:68723:31) at MeshSprite3D.__proto._addComponentInstance (/Users/admin/layaA4/layaA4/bin/js/bundle.js:39288:9) at MeshSprite3D.__proto.addComponent (/User...
来源: Laya_社区 发布时间: 20170505
...不会实时刷新 比如 this.loadNum=0; //资源加载进度中函数 _proto_.onProgress = function(){ //显示加载进度 Laya.timer.loop(100,this,this.ontime); this.txt_load.text = "资源加载中,当前进度:" + parseInt(this.loadNum) + "%"; //this.onComplete(); } //时钟定时执行函...
来源: Laya_社区 发布时间: 20171209
...efined" zengjoeng • 2017-11-15 09:17 我也是这个问题。我把.proto发布的时候使传参数-w es6 ,再用import就不报错了。然而运行起来到import的地方程序就不会继续执行了,也没有输出也没有报错。不知道是为什么? zengjoeng • 2017-11-15 0...
来源: Laya_社区 发布时间: 20170922
...对_path进行路径过滤,去掉它内部包含URL.basePath的部分 __proto.onComplete=function(content){ if (this._isDestroyed){ this.destroy(); return; }; var tSkBuffer=Loader.getRes(this._skBufferUrl); if (!tSkBuffer){ this.event(/*laya.events.Event.ERROR*/"error","load failed:"+this._skBuffe...
来源: Laya_社区 发布时间: 20190419
...Laya3D._onHierarchylhLoaded (libs/laya.d3.js:1933) at EventHandler.__proto.runWith (libs/laya.core.js:1628) at Loader.__proto.event (libs/laya.core.js:1384) at Loader.__proto.complete (libs/laya.core.js:16209) at Loader.__proto.onLoaded (libs/laya.core.js:16157) at Even...
来源: Laya_社区 发布时间: 20170428
... Uncaught TypeError: Cannot read property 'play' of null (see stack)#[0]__proto.play@/data/data/com.nearme.instant.platform/app_game/app/com.jinkejoy.talkingtomgoldrun.kyx.nearme.gamecenter/2115/libs/laya.quickgamemini.js:1838#[1]__proto.__onEnd@/data/data/com.nearme.instant.platform/app_game/app/co...
来源: Laya_社区 发布时间: 20200826
...t/bin/TestScene/TestScene.ls) extension with: ls. at LoaderManager.__proto._create (laya.core.js:12387) at LoaderManager.__proto.create (laya.core.js:12375) at new GameMain (LayaSample.ts:14) at LayaSample.ts:25 能麻烦看看是什么原因吗 附件 : --> LayaTest.zip 2...
来源: Laya_社区 发布时间: 20171227
LayaAir引擎 Byte writeArrayBuffer的Bug __proto.writeArrayBuffer=function(arraybuffer,offset,length){ (offset===void 0)&& (offset=0); (length===void 0)&& (length=0); if (offset < 0 || length < 0)throw "writeArrayBuffer ...
来源: Laya_社区 发布时间: 20180328