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

大约有 397 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0041 秒)

131. proto as3 [ 86%]

proto as3 message s_11004_c {   repeated objinfo  info = 1; } message objinfo {   required int32 id = 1;   required int32 type = 2;   repeated coordinates xy = 3; } message coordinates {   required string x = 1;   required string y = 2; } 有以下错误提示 Invalid wire type: 7 Invalid wi...

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

132. 请问UI之间的场景切换要怎么写 [ 86%]

...this.onWxSign); this.reset(); } Laya.class(sg_sign,"sg_sign",_super); var _proto = sg_sign.prototype; _proto.reset = function(){ Laya.SoundManager.playMusic('res/sound/sign_bgm.mp3',0); } _proto.onWxSign = function(e){ onWxSign1(); } return sg_sign; })(ui.sg_signUI); var sg_index = (function(_super)...

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

133. 使用滤镜报错 [ 86%]

...错日志: TypeError: f.action.setValue is not a function at TextureSV.__proto.setFilters (file:///E:/FS_Project/trunk/LAYA/PFX12/H5_SHZ/bin/libs/laya.core.js:22308:15) at TextureSV.__proto.setValue (file:///E:/FS_Project/trunk/LAYA/PFX12/H5_SHZ/bin/libs/laya.core.js:23986:23) at Function.SubmitTe...

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

134. TimeLine调用destroy报错&执行完成后回到起点 [ 86%]

...79 Uncaught TypeError: Cannot read property 'length' of null at TimeLine.__proto._update (HMain.max.js:12479) at TimerHandler.__proto.run (HMain.max.js:9196) at Timer.__proto._update (HMain.max.js:8951) at Stage.__proto.render (HMain.max.js:16932) at Stage.__proto._loop (HMain.max.js:16892) at loop ...

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

135. laya加载unity插件导出的场景 physics3D is not a function [ 86%]

...GameUI.ts:34) at SceneLoader.create (laya.core.js:22061) at EventHandler.__proto.run (laya.core.js:1385) at SceneLoader.__proto.event (laya.core.js:1156) at SceneLoader.__proto._checkNext (laya.core.js:15949) at SceneLoader.__proto.onOneLoadComplete (laya.core.js:16000) at EventHandler.__proto.runWi...

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

136. 微信小游戏报错 the .lh file root type must be Scene [ 86%]

...type must be Scene,please use other function to load this file. at Scene.__proto.onAsynLoaded (http://127.0.0.1:62629/game/code.js:81644:10) at ResInfo.onLoaded (http://127.0.0.1:62629/game/code.js:12995:61) at EventHandler.__proto.runWith (http://127.0.0.1:62629/game/code.js:711:59) at ResInfo.__pr...

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

137. 启用版本管理后,加载的资源很奇怪的在正确的路径后面又加了一次路径 [ 85%]

...奇怪的在正确的路径后面又加了一次路径 加载代码如下 _proto_files : any[] = [ "protos/login.proto", "protos/gm.proto", "protos/samplegame.proto", ];   Laya.loader.load(this._proto_files,Laya.Handler.create(this,this.OnProtoLoaded),null, Laya.Loader.TEXT);     打包的时候...

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

138. 地形shader示例渲染失败【在线等】 [ 85%]

...Error: BaseMaterial: unknown shader name.     at CustomTerrainMaterial.__proto.setShaderName (file:///Users/xutao/Documents/laya/test/bin/libs/laya.d3.js:23016:10)     at new CustomTerrainMaterial (file:///Users/xutao/Documents/laya/test/bin/js/CustomTerrainMaterial.js:15:15)     at Shader_Ter...

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

139. 网页调试崩溃了 [ 85%]

...异常,所以崩了。 我拷了一点this._program展开后的内容: proto__:WebGLProgram {constructor: , Symbol(Symbol.toStringTag): "WebGLProgram"} constructor:function WebGLProgram() { … } [[Scopes]]:Scopes[0] arguments:null caller:null length:0 name:"WebGLProgram" prototype:WebGLProgram ...

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

140. 如何在游戏入口处获取对象的子对象 [ 85%]

...直接调用MapLayer.具体怎么实现呢。获取地图层一定要在_proto.mapLoaaded里面吗? /* * name; */ var TiledMap = Laya.TiledMap; var Rectangle = Laya.Rectangle; var Handler = Laya.Handler; var Sprite = Laya.Sprite; var MapLayer = Laya.MapLayer; var loadMap = (function (_super) { fun...

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