大约有 1,751 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0082 秒)
Laya_社区(1103) Laya2.0_文档(182) Laya3.0_api(114) Laya2.0_api(105) Laya2.0_示例(83) Laya_示例(70) laya_api(64) Laya3.0_文档(30)
...问题,我大致复盘一下。 版本A: 1. new sk();sk.load("xx.sk",handler()); 2.销毁直接使用sk.destroy();sk=null; 这时在chorme上就能看到有内存泄漏,会多出来一个templet类型的数据,和官方大佬沟通之后产生了版本B。 版本B:1.new templet();tem...
来源: Laya_社区 发布时间: 20201030
...。 */ public function load(url:*, complete:Handler = null, progress:Handler = null, type:String = null, priority:int = 1, cache:Boolean = true, group:String = null, ignoreCache:Boolean = false):LoaderManager { 2018-04-18 0 0 分享 微博 QZONE 微信 w1114367261 赞同...
来源: Laya_社区 发布时间: 20180418
...iledMap; constructor(){ super(); Laya.loader.create(this.MAP_URL, new Laya.Handler(this, this.onComplete)) } private onComplete(){ this.map = new Laya.TiledMap(); this.map.createMap(this.MAP_URL, new Laya.Rectangle(0,0,Laya.stage.width, Laya.stage.height), new Laya.Handler(this, this.onMap)) } p...
来源: Laya_社区 发布时间: 20190218
... = Laya.Stage; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = ...
来源: Laya_社区 发布时间: 20180313
...? 真机调试报错:LayaPlayer不支持的标签</SCRIPT> Laya.Handler.create和new Laya.Handler有啥区别 Dialog和View用destroy和Laya.stage.removeChild有什么区别? GradientDataNumber warning是什么 2.10.0版本中代码编译器模式下为什么会自动打开Visual Studio Co...
来源: Laya_社区 发布时间: 20180426
...ation.enableHighAccuracy = true; Laya.Geolocation.getCurrentPosition( Laya.Handler.create(null, cb_onGeoPositionSuccess), Laya.Handler.create(null, cb_onGeoPositionFail)); } else { alert("您的浏览器不支持使用HTML5来获取地理位置服务"); } } // 回调函数:获取GPS坐标成功后 f...
来源: Laya_社区 发布时间: 20161102
.../激活资源版本控制 Laya.ResourceVersion.enable("version.json", Laya.Handler.create(null, beginLoad), Laya.ResourceVersion.FILENAME_VERSION); function beginLoad(){ Laya.loader.load("res/atlas/comp.atlas", Laya.Handler.create(null, onLoaded)); }*/ function updateItem(cell, index) { ...
来源: Laya_社区 发布时间: 20180507
... w1114367261 • 2018-04-11 16:27 Laya.loader.load("shadeY.part",Handler.create(this,onParticleLoaded),null,Loader.JSON); private function onParticleLoaded(settings:ParticleSetting):void { settings.minStartSize = 200; settings.minEndSize = 200; settings.maxStartSize = 200; settings.maxEndS...
来源: Laya_社区 发布时间: 20180409
... = 0; Laya.Tween.to(this.bir, { x: 200, y: 200 }, 2000, () => { }, Laya.Handler.create(this, this.change)); 这里面会直接过两秒执行this.change,而前面x:0->200 y:0->200不会执行 是什么原因?????? 2017-08-09 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20170809
...ERDEFINE_ALPHATEST instead Methods Static load load(url: string, complete: Handler): void Defined in laya/d3/core/material/BaseMaterial.ts:32 deprecated 废弃请使用Material类 BaseMaterial has deprecated,please use Material instead. Parameters url: string complete: Handler Returns void Globals "...
来源: Laya3.0_api 发布时间: 20231102