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

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

81. AS引用AS项目打包出来的JS不能用 [ 95%]

AS引用AS项目打包出来的JS不能用 我用AS写了一个壳子来盛放游戏,游戏也是由AS写的,将游戏导出JS文件的,由壳子去引用这个JS,会出现两个<div id="layaContainer"><canvas id="layaCanvas" height="1242" width="2208" style="position: absolute; le...

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

82. 百度小程序问题 [ 95%]

...运行时报找不到swan.createImage,是不是这个swan-game-adapter.js生成出来有问题呀   Uncaught TypeError: swan.createImage is not a function     at Module.srcHTMLImageElementJs (swan-game-adapter.js:1547)     at __webpack_require__ (swan-game-adapter.js:26)     at Module.srcIm...

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

83. Animation创建动画模板问题 [ 95%]

...模版 Laya.Animation.createFrames([{ url: "res/atlas/actor/character/idle.json", type: Laya.Loader.ATLAS }], ActionType.MOVE_STAND);   异常信息如下: TypeError: url.indexOf is not a function at Function.URL.formatURL (file:///E:/EarlyChildhood/EARLY_GAME_001/bin/libs/laya.core.js:4418:12) a...

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

84. prefab添加runtime脚本 comp._addComponentInstance is not a function [ 95%]

...添加runtime脚本 comp._addComponentInstance is not a function laya.core.js:11586 Uncaught TypeError: comp._addComponentInstance is not a function     at Function.SceneUtils.createComp (laya.core.js:11586)     at Function.SceneUtils.createByData (laya.core.js:11507)     at Prefab.__proto.cre...

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

85. unity导出粒子特效laya加载报错。 [ 95%]

...粒子特效laya加载报错。 版本2.1.0 插件也是2.1.0.  laya.d3.js:1870 Uncaught TypeError: Cannot read property 'path' of undefined     at Function.Laya3D._getSprite3DHierarchyInnerUrls (laya.d3.js:1870)     at Function.Laya3D._getSprite3DHierarchyInnerUrls (laya.d3.js:1917)     at L...

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

86. TypeError: Failed to execute 'texImage2D' on 'WebGLRenderingContext' [ 95%]

... TextureCube.__proto._createWebGlTexture (http://127.0.0.1:55942/game/code.js:89560:6) at TextureCube.__proto.recreateResource (http://127.0.0.1:55942/game/code.js:89603:8) at TextureCube.__proto.activeResource (http://127.0.0.1:55942/game/code.js:13972:9) at TextureCube.<anonymous> (http://12...

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

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

...aya\ide\LayaAirIDE_1.7.15\resources\app\out\layarepublic\toolbar\extension.js:66 Problem retrieving XML data E:\laya\ide\LayaAirIDE_1.7.15\resources\app\out\codeextension\servicecount\extension.js:3 servicecount extension disabled! Instead of layaEditor/da/extension! 3E:\laya\ide\LayaAirIDE_1.7.15\r...

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

88. AS类中初始化JS类相关问题 [ 94%]

AS类中初始化JS类相关问题 AS项目   Base.min.js是用webpack打包后生成的   原项目中有一个Base.js类   Base.min.js放在bin/h5目录下 下面是代码:   Laya.loader.load("Base.min.js", Handler.create(this,loadedHandler)); function loadedHandler(data:*):void{ //加...

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

89. TS项目直接运行js代码 [ 94%]

TS项目直接运行js代码 as项目可以用 __JS__ 直接执行js代码  例如:var cls:Class = __JS__("this.__proto__.__class"); 想问一下   ts项目是否有类似的api可以调用 2021-01-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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

90. 微信开发者工具问题 [ 94%]

...题 在layaair ide下没问题,到了开发者工具编译不过WAGame.js:14 Wechat Lib:2.0.8, 2018.5.17 17:08:32 code.js:107 Warning!,this class[MiniAdpter] already exist: {init: ƒ} VM698:1 gameThirdScriptError Unexpected token in JSON at position 134;at api readFile success callback function Sy...

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