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

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

2301. 急急急,如何设置按钮点击加载ani [ 49%]

...         Laya.loader.load(aniPath, Handler.create(this,onLoaded),null,Loader.ATLAS);         }                  private function onLoaded():void {             //加载按钮资源             Laya.loader.load(skin,Handler.create(this,onBegin))...

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

2302. this.bitmap.activeResource is not a function TypeError: this.bitmap.activeResource is not a function [ 49%]

...back function undefined Uncaught TypeError: Cannot read property 'load' of null 问题状态 最新活动: 2019-10-24 13:42 浏览: 1387 关注: 4 人

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

2303. laya.particle.ParticleSetting_API3.0 [ 49%]

...icleSetting.ts:96 发射器发射速率 emitterType emitterType: string = "null" Defined in laya/particle/ParticleSetting.ts:94 发射器类型,"point","box","sphere","ring" emitterVelocitySensitivity emitterVelocitySensitivity: number = 1 Defined in laya/particle/ParticleSetting.ts:17 粒子受发...

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

2304. Cannot read property 'call' of undefined [ 49%]

...operty 'cursor' of undefined错误 Cannot read property 'displayObject' of null Laya2.1.0 JS调用Java PlatformClass undefined [TMA][ERROR][RUNTIME] thirdScriptError undefined;at api readFile success callback function discard property,please use transform's property instead Cannot set property text ...

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

2305. dialog的lock属性没出现 [ 49%]

...eate(this, onSkinLoadComplete)); } private function onSkinLoadComplete(e:*=null):void { var dialog:Dialog = new Dialog(); var bg:Image = new Image(assets[0]); dialog.addChild(bg); var button:Button = new Button(assets[1]); button.name = Dialog.CLOSE; button.pos(DIALOG_WIDTH - CLOSE_BTN_WIDTH - CLOSE...

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

2306. 销毁 new 出的带有 PhysicsCollider 的正方体模型报错 [ 49%]

...2.0_beta.5 报错: Uncaught TypeError: Cannot read property 'destroy' of null     at PhysicsCollider.__proto._onDestroy (laya.d3.js:17738)     at PhysicsCollider.__proto._destroy (laya.core.js:7183)     at MeshSprite3D.__proto._destroyAllComponent (laya.core.js:13815)     at MeshSprite3D._...

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

2307. 微信小游戏加载资源次数过多,超过50mb,造成的bug [ 49%]

...图  在报错的地方我输出了 要删除的文件根本不存在是 null值 下面有我项目修改过的简单demo 测试的时候用手机 真机调试 开启调试模式就可以 game.js里面 修改版本号的源码 config.verson_res = "?v=0.0.1"  修改一次版本号进入一次游戏...

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

2308. List选中项下滚会变 [ 49%]

...选 // this.sList.selectHandler = Laya.Handler.create(this,this.onSelect,null,false); this.sList.mouseHandler = new Laya.Handler(this,this.onMouse);//鼠标事件响应 } Laya.class(ServerListView,"ServerListView",_super); var _proto_ = ServerListView.prototype; //选择列表项时的相应时间...

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

2309. 【解决】微信小游戏资源热更新/缓存更新 [ 49%]

...      if (url.indexOf(":")> 0 && Laya.URL.customFormat !=null){             let a = url.replace(Laya.URL.basePath,"");             url=Laya.URL.customFormat(a);         }  4.恭喜你已经成功了。   通过以上步骤,老玩家再打开游戏...

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

2310. 我照着例子做的换装例子切换不了卡槽的图片,附件为我的demo,请帮忙看看 [ 49%]

...eateTexture(this.currTexture); } 跟代码发现this.currDisplayData.uvs是null这是为什么呢 附件 : --> DragonBone.zip 2018-02-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 qian 赞同来自: 说明你...

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