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

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

161. ide升级到LayaAirIDE_1.7.0_beta 后启动调试器报错 [ 86%]

...f undefined at ChromeConnection.get api [as api] (d:\LayaAirIDE_1.7.0_beta\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\chromeConnection.js:56:28) at ChromeDebugAdapter.get chrome [as chrome] (d:\LayaAirIDE_1.7.0_beta\resources\app\extensions\laya-debug\no...

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

162. Resources already exist,is repeated loading 加载特效报重复加载 [ 86%]

Resources already exist,is repeated loading 加载特效报重复加载 export default class TransformDemo{     private scene:Laya.Scene3D;     private position:Laya.Vector3 = new Laya.Vector3(0, 0, 0);     private position1:Laya.Vector3 = new Laya.Vector3(0, 0, 0);     private rotat...

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

163. 微信飞机大战报错 [ 85%]

...ed     at ChromeConnection.get api [as api] (d:\Program\LayaAirIDE_1.7.0\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\chromeConnection.js:56:28)     at ChromeDebugAdapter.get chrome [as chrome] (d:\Program\LayaAirIDE_1.7.0\resources\app\extensions\laya...

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

164. 编译异常 Note that you need plugins to import files that are not JavaScript [ 85%]

...佬遇到吗? [17:24:32] Working directory changed to D:\LayaAirIDE2.3.0\resources\app [17:24:32] Using gulpfile ~\Desktop\MineKart(2)\.laya\compile.js [17:24:32] Starting 'compile'... [17:24:33] 'compile' errored after 668 ms [17:24:33] Error: Unexpected token (Note that you need plugins to impor...

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

165. LayaAirIDE 2.0beta5打开编辑模式出错 [ 85%]

...initRenderAfterComplete (file:///Applications/LayaAirIDE_beta.app/Contents/Resources/app/out/vs/layaEditor/h5/layabuilder.max.js:29683:48)     at EventHandler.__proto.run (file:///Applications/LayaAirIDE_beta.app/Contents/Resources/app/out/vs/layaEditor/h5/laya.js:649:27)     at EventDispatcher....

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

166. 调试时报错Error processing "evaluate": TypeError: Cannot read property 'api' of undefined [ 85%]

... undefined     at ChromeConnection.get api [as api] (d:\LayaAirIDE_1.7.1\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\chromeConnection.js:56:28)     at ChromeDebugAdapter.get chrome [as chrome] (d:\LayaAirIDE_1.7.1\resources\app\extensions\laya-debug\n...

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

167. movieclip destroy 后重新加载失败 [ 85%]

...========== >>getMovieClipAtlas: res/swf/bomb.swf true Failed to load resource: net::ERR_FILE_NOT_FOUND [warn]Retry to load: bomb/2.png Failed to load resource: net::ERR_FILE_NOT_FOUND Failed to load resource: net::ERR_FILE_NOT_FOUND Failed to load resource: net::ERR_FILE_NOT_FOUND Failed to lo...

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

168. 批量销毁释放内存(JavaScript-3D基础(JS)-LayaAir3D的内存管理) [ 85%]

...需要分别使用`Laya.loader.getRes(url:String)`接口获取到资源(Resource)对象之后,再调用资源对象的`destroy()`方法进行销毁。但是这种方法是非常麻烦的。LayaAir2.0为了方便开发者,提供了`Resource.destroyUnusedResources()`接口统一销毁。 ​ *...

来源: Laya2.0_文档 发布时间: 20210715

169. laya.d3.resource.DataTexture2D [ 84%]

...ex | Frames No Frames DataTexture2DProperties | Methods Packagelaya.d3.resourceClasspublic class DataTexture2DInheritanceDataTexture2D BaseTexture laya.resource.ResourcePublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By defaulteTexture : Base...

来源: laya_api 发布时间: 20170929

170. 射线检测-碰撞器混合 [ 84%]

...de = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); //预加载所有资源 var resource = [ { url: "../../res/threeDimen/scene/ColliderScene/ColliderDemo.ls", clas: Laya.Scene, priority: 1 }, { url: "../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", clas: Laya.Sprite3D, priority: 1 } ]; Laya.loa...

来源: Laya_示例 发布时间: 20241118