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

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

21. 动画-旧版骨骼动画 [ 61%]

...inAnimation动画组件 function addSkinComponent(spirit3D) { if (spirit3D instanceof Laya.MeshSprite3D) { var meshSprite3D = spirit3D; var skinAni = meshSprite3D.addComponent(Laya.SkinAnimations); skinAni.templet = Laya.AnimationTemplet.load(skinAniUrl[0]); skinAni.player.play(); } for (var i = 0, ...

来源: Laya_示例 发布时间: 20260930

22. ts继承后,代码压缩的问题 [ 60%]

...function() { var extendStatics = Object.setPrototypeOf || { __proto__: [] }instanceof Array && function(d, b) { d.__proto__ = b } || function(d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p] } ; return function(d, b) { extendStatics(d, b); function __() { this.constructor = d } ...

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

23. Shader预编译解决方案 [ 59%]

...vate $compileShader(model: Laya.Sprite3D) {         if (model instanceof Laya.ShuriKenParticle3D) {             var shuriKenParticle3D: Laya.ShuriKenParticle3D = model as Laya.ShuriKenParticle3D;             var render: Laya.ShurikenParticleRenderer =...

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

24. 关于HttpRequest [ 58%]

...m); } else { for (var i in param) { var k = key == null ? i : key + (param instanceof Array ? '[' + i + ']' : '.' + i); paramStr += CommonUtils.urlEncode(param[i], k, encode); } } // var paramStr = ""; // for (var prop in param) { // paramStr += prop + "=" + param[prop] + "&"; // } // paramStr =...

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

25. [LayaAirIDE3]getTextWidth报null is not an object (evaluating \'i.width\') [ 58%]

...ll Getcomponent 报错Uncaught (in promise) TypeError: Right-hand side of 'instanceof' is not an object alertexception info: [Typeerror: null is not object (evaluating this. vaoext createvertexarrayoes"] 多个对象添加点击事件, 舞台上面移除掉所有对象,并且置为null 'releaseTex...

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

26. LayaAir编译器错之for_in [ 58%]

...      var t=null;                 if(((Loader.loadedMap[i])instanceof laya.resource.Texture )){                     t=Loader.loadedMap[i];                     t.destroy();                 }                 delete Loader.loadedMap[...

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

27. Dialog:屏蔽点击Dialog之外的区域关闭弹框 [ 57%]

...e) return; var dialog = this.getChildAt(this.numChildren - 1); if ((dialog instanceof laya.ui.Dialog)) dialog.close("side"); } cheche062 • 2017-12-21 16:31 就此埋下一个坑。。。 灬懂不丨懂丿 • 2018-10-10 23:53 真的没明白 155*****359 • 2018-04-14 20:34 实例化窗...

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

28. web端ios这边加载压缩的图片加载报错 [ 57%]

... this._data = data; if (this._customParse) { this.event(Event.LOADED, data instanceof Array ? [data] : data); } else { this._http.offAllCaller(this); Loader._loaders.push(this); if (!Loader._isWorking) Loader.checkNext(); } } 2020-02-17 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复...

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

29. 【Native BUG】Native下对根结点设置filter,无法更新到每个子节点,web是ok的 [ 57%]

...            if (sprite) {                     //if (sprite instanceof Laya.Text) {                     //    if (set) {                     //        sprite.color = "#666666";                     //    } else {                     //  ...

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

30. laya3d的scene里边怎么能添加2d的显示对象? [ 56%]

...象列表里添加2d显示对象,我看3d的addChild源码 if (!((node instanceof laya.d3.core.Sprite3D ))) throw new Error("Sprite3D:Node type must Sprite3D."); 是不支持的,请问有其他方式么? 麟。 • 2018-09-12 18:44 我的目的是想2d的ui可以有3d的坐标系Tran...

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