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

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

901. Resources already exist,is repeated loading 加载特效报重复加载 [ 69%]

...res/threeDimen/particle/2d.lh", Handler.create(this, this.onAssetsLoaded), null, Loader.JSON);     }      public onAssetsLoaded(settings: ParticleSetting): void {         this.sp = new Particle2D(settings);         this.sp.emitter.start();         this.sp.play();   ...

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

902. LoginView.super(this);这样调用的父类的构造函数的方法,不能用吗 [ 68%]

...() {     LoginView.super(this);     this.btnReg.on(Laya.Event.CLICK, null, function () {         console.log("on btReg event")     }); } 目前编辑的代码辅助,好像还是无法获得父类的成员变量比如 btnReg。这是视频提到的一个ide的功能bug 2017-03-17 ...

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

903. 音乐播放 position 和 duration 问题 [ 68%]

...使用 this.NowPlayMusic = Laya.SoundManager.playMusic(“aa.ma3”,1,null,this.nowPlayPositon),但是这样我再微信开发工具上用都好好的,到了手机,就没用了。我晕了,各种姿势我都尝试了,没有能完美解决这个失去焦点返回继续播放的问题,...

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

904. 怎么获取Tiledmap设置的tiles自定义属性值 [ 68%]

...turn _properties[name];             }             return null;         }                  /**          * 得到tile自定义属性          * @param    index        地图块索引          * @param    id            具体的...

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

905. [LayaAir2]Spine动画无法正常加载显示 [ 68%]

...上传。 laya.ani.js:2053 Uncaught TypeError: Cannot read properties of null (reading 'bones')     at PathConstraint.computeWorldPositions (laya.ani.js:2053:51)     at PathConstraint.apply (laya.ani.js:1905:34)     at Skeleton._createGraphics (laya.ani.js:2723:37)     at Skeleton._update (l...

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

906. 加载预制体json,返回值不统一 [ 68%]

...) {             console.log('hero',obj);         }), null, Laya.Loader.PREFAB);         Laya.loader.create("prefab/WeiTiao.json", Laya.Handler.create(this, function (obj) {             console.log('WeiTiao',obj);         }), null, Laya.Loader....

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

907. Templet资源删除不掉 [ 68%]

...Again();         }         private function onAssetLoaded(e:*=null):void         {             // var texture:Texture = Loader.getRes("res/Dragon.png");             // var data:ArrayBuffer = Loader.getRes("res/Dragon.sk");             factory = new Templ...

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

908. laya.d3.core.particleshuriken.ShuriKenParticle3D_API3.0 [ 68%]

...的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.clearTimer Defined in laya/display/Node.ts:609 清理定时器。功能同Laya.ti...

来源: Laya3.0_api 发布时间: 20231115

909. session获取不到 [ 68%]

...HttpServletRequest request中的request里面的session的值一直都是null的,换成web请求的ajax的话是没有问题的,一进去就有session的值 vincent • 2017-03-18 12:16 我用hbuilder的手机APP开发工具,那个也是h5的,用他们的ajax请求.do,也是可以获取req...

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

910. 网页调试崩溃了 [ 68%]

...constructor:function WebGLProgram() { … } [[Scopes]]:Scopes[0] arguments:null caller:null length:0 name:"WebGLProgram" prototype:WebGLProgram {constructor: , Symbol(Symbol.toStringTag): "WebGLProgram"} constructor:function WebGLProgram() { … } Symbol(Symbol.toStringTag):"WebGLProgram" __proto__:...

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