• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 520 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0053 秒)

141. tween缓动时能不能实时得出当前的位置 [ 72%]

...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

142. Laya1.7.20如何加载3d资源? [ 72%]

...开加载速度过慢,有黑屏,如何加入闪屏图片 Animation 的createFrames 使用已经加载的图集缓存动画失败 问题状态 最新活动: 2019-05-15 11:43 浏览: 677 关注: 2 人 小哥哥 • 2019-05-15 11:48 就是照那上写的啊 u3d5.6.6 插件也是下的1.x bpmf_d •...

来源: Laya_社区 发布时间: 20190515

143. 插件开发说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 72%]

...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

144. Laya.loader.load(xx) 当地址""的时候,会报错。 [ 72%]

...错。 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

145. 新版本2.2.0又遇到BUG了,多到我都已经不好意思再反馈问题了 [ 72%]

...请看图。   再次翻开引擎的源码。     发现BaseCamera的_create,没有在子类Camera进行重写。 结果就是导致通过_create创建的实例全是BaseCamera。 这其实是程序员们粗心大意造成的。之前版本都正常。   发完这个帖,我已经彻底放弃...

来源: Laya_社区 发布时间: 20190801

146. 在native下 Laya.Browser.window.Blob不存在 [ 72%]

....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

147. 关于使用资源版本控制加载出错问题 [ 72%]

....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

148. 滤镜-模糊滤镜 [ 72%]

...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

149. 射线检测-射线检测 [ 72%]

...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

150. Unity插件与LAYAAIR加载的天空盒子BUG与修改方法 [ 72%]

...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