大约有 1,614 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0057 秒)
Laya_社区(1206) Laya2.0_文档(194) Laya_示例(55) Laya3.0_api(49) Laya2.0_示例(43) Laya3.0_文档(42) Laya2.0_api(13) laya_api(12)
...; obj["x"]=this.x; obj["y"]=this.y+num; Tween.to(this,obj,500,null,Handler.create(this,startAnimated)) } } 开始是同步的 时间长了动画会出现很大的误差 下面是不同步的时候和开始同步的时候的图片 附件 : --> 2018-05-24 添加评论 免费帖 --> 分享 微博 QZ...
来源: Laya_社区 发布时间: 20180524
...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
...10:38.252868+0800 SwiftLayaNative[98971:4069811] iOS OpenGL ES 3.0 context created 2019-05-10 17:10:38.253489+0800 SwiftLayaNative[98971:4069811] 当前应用软件版本:1.0 2019-05-10 17:10:38.253591+0800 SwiftLayaNative[98971:4069811] 当前应用Local版本号码:1 2019-05-10 17:10:38.253705+0...
来源: Laya_社区 发布时间: 20190510
...) at Function.getCompInstance (laya.core.js:21214) at Function.createComp (laya.core.js:21081) at Function.createComp (laya.core.js:21111) at Function.createByData (laya.core.js:21034) at GameMain.createView (laya.core.js:23764) 模仿示例代码 才开始就出...
来源: Laya_社区 发布时间: 20201110
...ge = root.lookup("awesomepackage.AwesomeMessage"); // Create a new message 创建一条协议内容 var message = AwesomeMessage.create({ awesomeField: "AwesomeString" }); // Verify the ...
来源: Laya_社区 发布时间: 20170216
...ite3D(mesh); //方法二:预加载,创建为Sprite3D类型 Laya.loader.create("LayaScene_01/Assets/model/loveScene_jianzhu.lm",Laya.Handler.create(this,this.onCreateComplete)); //预加载完成后回调 private onCreateComplete():void { //创建预加载的模型网格 var mesh:Laya.Mesh = Laya...
来源: Laya_社区 发布时间: 20171109
...能 directionLight.shadowPCFType = 3; Laya.loader.create([ "res/plane.lh", "res/LayaMonkey.lh" ], Laya.Handler.create(this, onComplete)); var _quaternion = new Laya.Quaternion(); Laya.timer.frameLoop(1, n...
来源: Laya_社区 发布时间: 20180725
...#232628"; roleAni = new Animation(); Laya.loader.load(AniConfPath, Handler.create(this, onLoaded), null, Loader.ATLAS); } private function onLoaded(_e:*=null):void { Animation.createFrames(aniUrls("die",6),"dizziness"); roleAni.play(0,true,"dizziness"); Laya.stage.addChild(roleAni); } /** * 创建...
来源: Laya2.0_文档 发布时间: 20210715
...ab,b场景也包含预制体hero.prefab 在a场景通过Laya.Pool.getItemByCreateFun("hero", this.pHero.create, this.pHero)创建对象,同时给对象设置位置,成功 跳转到b场景后,通过Laya.Pool.getItemByCreateFun("hero", this.pHero.create, this.pHero)获取这个对象时,获取成...
来源: Laya_社区 发布时间: 20200309
...lob = new Blob([this.response], { type: "image/png" }); var img = document.createElement("img"); img.onload = function (e) { window.URL.revokeObjectURL(img.src); // 清除释放; }; img.src = window.URL.createObjectURL(blob); document.body.appendChild(img); } } xhr.send(); ``` 上面这个方法是...
来源: Laya2.0_文档 发布时间: 20210714