大约有 520 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0053 秒)
Laya_社区(399) Laya2.0_文档(39) Laya3.0_api(32) Laya_示例(19) Laya3.0_文档(15) Laya2.0_示例(9) laya_api(5) Laya2.0_api(2)
...update方法是可以的 Tween.to(_source, {x:endX, y:endY, update:Handler.create(this, tweenUpdate)},200, null, Handler.create(this, moveComplete)); 2017-12-27 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 z1071051378 相关问题 ...
来源: Laya_社区 发布时间: 20171226
...开加载速度过慢,有黑屏,如何加入闪屏图片 Animation 的createFrames 使用已经加载的图集缓存动画失败 问题状态 最新活动: 2019-05-15 11:43 浏览: 677 关注: 2 人 小哥哥 • 2019-05-15 11:48 就是照那上写的啊 u3d5.6.6 插件也是下的1.x bpmf_d •...
来源: Laya_社区 发布时间: 20190515
...tor.panel("Test") export class MyPanel extends IEditor.EditorPanel { async create() { this._panel = await gui.UIPackage.createWidget("editorResources/UI/MyWidget.widget"); let input: gui.TextInput = this._panel.getChild("TextInput").getChild("title"); input.on("changed", () => { console.log("改...
来源: Laya3.0_文档 发布时间: 20251010
...错。 laya 引擎是2.5的 Laya.loader.load(cg_url,Laya.Handler.create(this,()=>{ let tur:Laya.Texture = Laya.loader.getRes(cg_url); if(tur)img_cg.graphics.drawImage(tur) }),null,Laya.Loader.IMAGE); 这段代码, ...
来源: Laya_社区 发布时间: 20201130
...请看图。 再次翻开引擎的源码。 发现BaseCamera的_create,没有在子类Camera进行重写。 结果就是导致通过_create创建的实例全是BaseCamera。 这其实是程序员们粗心大意造成的。之前版本都正常。 发完这个帖,我已经彻底放弃...
来源: Laya_社区 发布时间: 20190801
....Blob([data], { type: "image/png" }); // var url = Laya.Browser.window.URL.createObjectURL(blob);//创建一个url对象; ////我们先用第一种方式显示图片到舞台; // var sp = new Laya.Sprite(); // var png = window.conch.convertBitmapToPng(data, 640, 1136); var cc = new laya.resource...
来源: Laya_社区 发布时间: 20180201
....json"; laya.net.ResourceVersion.enable(LoadingView_configUrl,Laya.Handler.create(this,this.onProLoadedBef),2); _proto.onProLoadedBef =function() { var ProResArray = [ {url : "res/atlas/com/loading.atlas" , type : Laya.Loader.ATLAS}, ]; Laya.loader.load...
来源: Laya_社区 发布时间: 20180711
...LL; Laya.stage.bgColor = "#232628"; Laya.loader.load(apePath, Laya.Handler.create(this, this.setup)); } setup() { this.createApe(); this.applayFilter(); } createApe() { const Sprite = Laya.Sprite; this.ape = new Sprite(); Laya.stage.addChild(this.ape); let texture = Laya.loader.getRes(apePath); this...
来源: Laya2.0_示例 发布时间: 20251209
...ranslate(new Laya.Vector3(0, 1, 3)); camera.clearColor = null; Laya.loader.create(["../../res/threeDimen/skinModel/NvWu/NvWu-shenminvwu.lm", "../../res/threeDimen/skinModel/CunMinNan/CunMinNan-cunminnan.lm", "../../res/threeDimen/skinModel/XiaoFeiLong/XiaoFeiLong-xiaofeilong.lm", "../../res/threeDim...
来源: Laya_示例 发布时间: 20251209
...oader,0,ltcWeight,1.0); var processHandler=Handler.create(null,Laya3D._onProcessChange,[loader,ltcWeight,6 / 7],false); Laya3D._innerFourthLevelLoaderManager.load(urls,Handler.create(null,Laya3D._onTextureCubeImagesLoaded,[loader,urls,processHandler]),...
来源: Laya_社区 发布时间: 20180508