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

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

3241. 求救:proto解析 _i会变成I [ 54%]

...acket_iidiid = 4; } 通过 ProtoBuf.load("protocol.proto", this.onLoaded); function onLoaded(err:any, root:any):void{ if (err) throw err; // Obtain message types var msgDefine:any = = root.lookup("protocols.packetc2g_select_gate"); var newMessage:any = msgDefine.create(); } 然后发现里面的成...

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

3242. Panel的滚动条皮肤问题 [ 54%]

...ng","images/scrollbar$bar.png"], Laya.Handler.create(this, panelContent)); function panelContent() { panel = new _this.Panel(); panel.size(1081, 507); panel.pos(153, 141); panel.zOrder = 21; panel.vScrollBarSkin = 'images/scrollbar.png'; panel.vScrollBar.elasticDistance = 100; Laya.stage.addChild(pa...

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

3243. 怎么调用缓动动画的暂停方法?(JS) [ 54%]

...样暂停缓动报错啊, Uncaught TypeError: Laya.Tween.pause is not a function

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

3244. ui list 里面的元素不能点击两次 [ 54%]

...ndler的使用 示例 list.mouseHandler=new Handler(this,onMouse); private function onMouse(e:Event,index:Number):void { // TODO Auto Generated method stub if(e.type==Event.CLICK) { trace("click"); } } 2016-12-02 3 2 分享 微博 QZONE 微信 sunkehappy 赞同来自: @cuixueying 感谢提供方案...

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

3245. 对于使用spine切换动作后显示异常解决方法 [ 54%]

...Sprite.load(xxx,回调)--加载好使用spine或dragbones的文件 private function 回调(){ catSprite.showSkinByName("动作名") //最初使用这种方式显示 结果是图片乱跳 显示异常 请使用 catSprite.play("动作索引") //动作索引为 0-第一套 1-第二套类推。。。 ...

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

3246. loadLib("libs/laya.device.js"); native上会随机宕 [ 54%]

...:     //Laya.__init([Media]);   另外视频destr __proto.destroy=function(detroyChildren){         (detroyChildren===void 0)&& (detroyChildren=true);         _super.prototype.destroy.call(this,detroyChildren);         // native会崩溃         // this...

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

3247. 缓存清除方法clearTextureRes [ 54%]

缓存清除方法clearTextureRes    Loader.clearTextureRes=function(url){             url=URL.formatURL(url);             var arr=laya.net.Loader.getAtlas(url);             var res=arr ? laya.net.Loader.getRes(arr[0]):laya.net.Loader.getRes(url);       ...

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

3248. 3D骨骼动画卡在某一帧不再执行动作 [ 54%]

...帧不再执行动作 SDK版本为1.7.17    以下为核心代码:   function playAction(act:string):void {     var animationclip:Laya.AnimationClip = this.animator.getClip(action);     if(animationclip){        this.animator.play(act);    } }   现象描述:角色正在挂机放...

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

3249. 求助。资源加载问题,按照官方demo出现问题 [ 54%]

...会提示laya.core.js:12752 Uncaught TypeError: node._setParent is not a function 具体代码如下:    Laya.Sprite3D.load(url, Laya.Hander.create(this, this.onLoadComplete)) (不会报错)    Laya.loader.create(url, Laya.Hander.create(this, this.onLoadComplete))(会报错)   private onLoad...

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

3250. laya.d3.component.animator.AvatarMask_API3.0 [ 54%]

...mPath getTransformActive setTransformActive Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Enumeration Interface

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