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

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

1041. 生成微信小游戏时各种"undefined"(已解决) [ 65%]

...的环境是TypeScript) * 各种"undefined",比如matter undefined, Common,Events undefined等等 * 其实主要原因在于  1. laya会根据index.html顺序把各种js写入code.js  2. matter.js在生成code.js后他定义的var Matter并不是全局的,因此导致后面需要调用Matter的地...

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

1042. laya.ui.Widget [ 65%]

... _onEnable():void[override] Widget  _onParentResize():void 父容器的 Event.RESIZE 事件侦听处理函数。 WidgetPublic Constants ConstantDefined By  EMPTY : Widget[static] 一个已初始化的 Widget 实例。WidgetProperty Detailbottompropertybottom:Number表示距底边的距离(...

来源: Laya2.0_api 发布时间: 20190513

1043. 导出的3D资源加载报错 [ 65%]

...s.Handler;          import laya.display.Stage;     import laya.events.Event;     import laya.utils.Stat;          public class LayaSample {                  private var _stateMachine:StateMachine;         public function LayaSample()         { ...

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

1044. 打包app,http无法设置content-type [ 65%]

...gt;, cb:(err:Error, data?:any)=>void) { let req = new Request(); req.on(Event.COMPLETE, this, (data) => { cb(null, data); }); req.on(Event.ERROR, this, (err) => { console.error(err); cb(err); }); let body = data; let tp = typeof data if(tp === 'object' || tp === 'array'){ if(method === 'pos...

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

1045. 导入微信小游戏的时候 [ 65%]

...t ResInfo.onLoaded (http://127.0.0.1:65353/game/code.js:12995:61)     at EventHandler.__proto.runWith (http://127.0.0.1:65353/game/code.js:711:59)     at ResInfo.__proto.event (http://127.0.0.1:65353/game/code.js:483:28)     at LoaderManager.__proto._endLoad (http://127.0.0.1:65353/game/code.j...

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

1046. js中使用sharedMesh报错 [ 65%]

...file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:12657:28) at EventHandler.__proto.runWith (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:709:27) at ResInfo.__proto.event (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:479:28) at LoaderManager.__proto._end...

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

1047. worker.js 使用问题 [ 65%]

...a.dataType || data.dataType !="imageBitmap"){             this.event(data.url,null);             return;         };         var bitmap;         var imageData=data.imageBitmap;         if (Render.isWebGL){             /*__JS__ */bitm...

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

1048. TiledMap加载失败的问题 [ 64%]

...e:///E:/EarlyChildhood/EARLY_GAME_001/bin/libs/laya.tiledmap.js:165:20) at EventHandler.__proto.runWith (file:///E:/EarlyChildhood/EARLY_GAME_001/bin/libs/laya.core.js:670:60) at Loader.__proto.event (file:///E:/EarlyChildhood/EARLY_GAME_001/bin/libs/laya.core.js:450:29) at Loader.__proto.endLoad (f...

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

1049. 项目做了一周.然后打不开了.怎么办? [ 64%]

...ayaAirIDE_1.7.15\resources\app\out\vs\layaEditor\h5\codemain.js:390:36) at EventEmitter.restartServer.getPort (E:\laya\ide\LayaAirIDE_1.7.15\resources\app\out\vs\layaEditor\h5\codemain.js:372:18) at Server.<anonymous> (E:\laya\ide\LayaAirIDE_1.7.15\resources\app\out\vs\layaEditor\h5\codemain.j...

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

1050. spine适配版微信开发者平台报错 [ 64%]

...ineVersion.v3_8); this.templet.loadAni(this.aniPath); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError); }加载方式用的官方案例,本地跑是没问题的 2021-12-07 0 0 分享 微博 QZONE 微信 northTg 赞同来自: 有...

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