大约有 397 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0040 秒)
...下,手动释放和恢复 /** *释放纹理 */ __proto.destroyTexture=function(){ if(this._mainTexture!=null){ this._mainTexture.disposeBitmap(); } this._needRecoverTexture = true; } /** ...
来源: Laya_社区 发布时间: 20201128
...,再获取素材切片? /** *@private *改变对象的状态。 */ __proto.changeState=function(){ this._stateChanged=false; this.runCallLater(this.changeClips); var index=this._state < this._stateNum ? this._state :this._stateNum-1; this._sources && (this._bitmap.source=this._sources...
来源: Laya_社区 发布时间: 20170516
...tory.mWeaponCur.PlayAnima(WEAPON_ANIMA_FIRE); // 播放动画 _proto.PlayAnima = function(anaimaname) { // 第一次创建一个动画 if (null == this.mAnimaCur) { this.mAnimaCur = new laya.display.Animation(); ...
来源: Laya_社区 发布时间: 20161205
...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
..."); } //注册类 Laya.class(Test,"Test",_super); //获取执行域 var _proto = Test.prototype; //_proto. return Test; })(); 2018-06-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 语...
来源: Laya_社区 发布时间: 20180605
...不会实时刷新 比如 this.loadNum=0; //资源加载进度中函数 _proto_.onProgress = function(){ //显示加载进度 Laya.timer.loop(100,this,this.ontime); this.txt_load.text = "资源加载中,当前进度:" + parseInt(this.loadNum) + "%"; //this.onComplete(); } //时钟定时执行函...
来源: Laya_社区 发布时间: 20171209
...s,this.init); } return BtnFeed; })(); //实例化上面的类 _proto.getFeedBtn = function(){ this.feedBtn = [ this.myHome,//我的家园 this.famlilyMune.getChildByName("shop"),//我的家园-商店 this.famlilyMune.getCh...
来源: Laya_社区 发布时间: 20170301
... been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. __proto.send @ laya.core.js:23023 laya.core.js:23075 /Users/andyzu/Desktop/LayaGame/demo/myLaya/bin/version.json Request failed Status:0 text: __proto.error @ lay...
来源: Laya_社区 发布时间: 20190718
...e=1024 *1024 *10; atlasLimitWidth=64 atlasLimitHeight=64 另外我监控 __proto.addSize=function(add){ 这儿函数 发现add 有时候是负值 不知道是否正常,我修改了下 __proto.addSize=function(add){ if (add){ if(add > 0){ if (this.autoRelease){ ((this._memorySize+add)> this.a...
来源: Laya_社区 发布时间: 20170915
...信小游戏正常 VM291:1 gameThirdScriptError Cannot set property '__proto__' of null TypeError: Cannot set property '__proto__' of null at HTMLCanvasElement.n.getContext (http://127.0.0.1:56214/game/__ ... :23503) at http://127.0.0.1:56214/game/game.js:7:18 at require (http:/...
来源: Laya_社区 发布时间: 20180328