大约有 2,461 项符合查询结果, 库内数据总量为 30,962 项。 (搜索耗时: 0.0070 秒)
Laya_社区(2315) Laya2.0_文档(54) Laya2.0_api(50) laya_api(21) Laya3.0_文档(10) Laya3.0_api(8) Laya_示例(2) Laya2.0_示例(1)
...FileReference,,但是小莹同学说不支持file,,让我使用__JS__()的方法,, 于是在网上一顿查,一顿试,结果是简单的(比如一行两行代码)js可以运行(如:alert()),,但是稍微代码复杂一些就无法运行,,本来就不大懂JS,...
来源: Laya_社区 发布时间: 20160115
...oad(partPath, Laya.Handler.create(this, this.onAssetsLoaded), null, Loader.JSON); } onAssetsLoaded(settings) { // 当load数组的时候,回调函数传入的参数不再是资源,可以通过以下方法获取资源 // let settings = Laya.loader.getRes(partPath...
来源: Laya_社区 发布时间: 20190704
真机上随机报错 JS onFrame error 2021-12-01 17:08:49.363 11766-11918/? I/LayaBox: alert=出错啦,请把此信息截图给研发商 RangeError: Array buffer allocation failed http:111111/.com/libs/laya.d3.js:24049: RangeError: Array buffer allocation failed this._vertices = new Float32Array...
来源: Laya_社区 发布时间: 20211211
...0\resources\app\out\layarepublic\LayaAirProjectPack\LayaAirProjectPack.max.js:3232 return unescape(encodeURIComponent(input)) ^ RangeError: Invalid string length at encodeURIComponent () at Function.SMD5.str2rstrUTF8 (D:\LayaAirIDE_1.7.20\resources\app\out\layarepublic\LayaAirProjectPack\LayaAirProj...
来源: Laya_社区 发布时间: 20181229
# AS3与JS混合编码 AS3与JS交互是一种常见的需求,flash插件提供了一个简单的接口函数`ExternalInterface.call`和`ExternalInterface.addCallback`与JS交互。但是发布HTML5,这个flash的接口就不能用了。 作为支持AS3语言编写HTML5的引擎,La...
来源: Laya2.0_文档 发布时间: 20210715
... (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:130:41) at new GameScene (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/src/GameScene.js:4:19) at HomePageUI.onGameStart (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/src/HomePage.js:78:27) ...
来源: Laya_社区 发布时间: 20180709
微信小游戏打包后SFS2X.d.ts没有打包成js文件 导致运行报错未找到 SFS2X is not defined;at api readFile success callback function ReferenceError: SFS2X is not defined at Server.initSFS (http://127.0.0.1:17168/game/code.js:130617:26) at GameMain.initGame (http://127.0....
来源: Laya_社区 发布时间: 20191017
...f undefined at Timer.__proto._getHandler (http://127.0.0.1:55825/game/code.js:22446:17) at Timer.__proto._create (http://127.0.0.1:55825/game/code.js:22320:21) at Timer.__proto.once (http://127.0.0.1:55825/game/code.js:22365:8) at MyData.__proto.catchCard ( 于是我定位到编译好的code.js, ...
来源: Laya_社区 发布时间: 20180520
...rSprite3D.__proto._childs (file:///D:/Projects/Study/three/bin/h5/Main.max.js:6529:29) at Sprite.__proto.render (file:///D:/Projects/Study/three/bin/h5/Main.max.js:21868:42) at RenderSprite3D.__proto._childs (file:///D:/Projects/Study/three/bin/h5/Main.max.js:6529:45) at RenderSprite3D.__proto._tran...
来源: Laya_社区 发布时间: 20180405
...ty 'btSphereShape' of undefined at new SphereColliderShape (laya.d3.js:27198) at new GameUI (GameUI.js:30) at Function.ClassUtils.getInstance (laya.core.js:9634) at SceneLoader.create (laya.core.js:20746) at EventHandler.__proto.run (laya.core.js:1111) at Sc...
来源: Laya_社区 发布时间: 20181016