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

大约有 69 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0048 秒)

61. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 53%]

...      private mDecorate:Decorate;//装饰器         private mHost: string;         private mPort: number;         private mConnected: boolean;         /** 开启*/         public static OPEN: string = "open";         /** 关闭*/         public static CLOSE: string = ...

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

62. 引擎socket类_onMessage bug [ 50%]

...tPosition;         if (data) {             if (typeof (data) == 'string') {                 this._input.writeUTFBytes(data);             } else {                 this._input.writeArrayBuffer(data);             }             this._addInputPosition = this._i...

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

63. 菜鸟提问:请问使用LayaAir的话,AS3原生类以及一些第三方库完全不能用是吗? [ 45%]

... 总之,为了兼顾JS,AS3基础语法可以用,基础类型Numer,String,Object可以用,Int估计也是用Number凑合着用,JS有的那就可以用,JS没有的就必须用Laya引擎提供的库的API才行是吗?   希望能得到解答,万分感谢!! 2017-05-10 添加评...

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

64. Laya ts版,使用jasmine进行单元测试 [ 41%]

...有三个文件,一个是src/Functions.ts,内容为function hello(): string { return 'Hello World!'; } 一个是src/Library/ToolService.ts, 内容为module Library{ export class ToolService{ constructor(){ } public static sum(a:number, b:number):number { return a + b; } } }   一个是 src/Libr...

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

65. 插件开发说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 32%]

...也可以省略这个声明 static test(this: IEditorEnv.IGameScene, msg: string) { console.log(msg); //hello return "ok"; } } //下面是UI进程的代码 let ret = await Editor.scene.runScript("TestSceneScript.test", "hello"); console.log(ret); //ok 特别的用法,可以通过window对象调用...

来源: Laya3.0_文档 发布时间: 20251010

66. 构建app闪退,测试app扫码可以运行 [ 22%]

... 8214-8265/com.layabox.hello A/art: art/runtime/java_vm_ext.cc:470]     string: 'http://192.168.2.139:8900/bin/libs/layer.js:2: 2019-03-15 08:45:13.438 8214-8265/com.layabox.hello A/art: art/runtime/java_vm_ext.cc:470] TypeError: Cannot read property 'length' of undefined 2019-03-15 08:45:13.438 ...

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

67. 安卓概率性闪退 [ 18%]

...ayaair.so (laya::JCAudioWavPlayer::playAudio(laya::JCAudioInterface*, std::string const&, bool)+184) [arm64-v8a] 5 #04 pc 000000000044f018 /data/app/com.mylafe.game.handsomecat-1/lib/arm64/liblayaair.so (laya::JSAudio::play()+164) [arm64-v8a] 6 #05 pc 000000000044f8d8 /data/app/com.mylafe.game...

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

68. 安卓闪退,有日志 [ 16%]

...ayaair.so (laya::JCAudioWavPlayer::playAudio(laya::JCAudioInterface*, std::string const&, bool)+184) [arm64-v8a] 3 #02 pc 000000000044f018 /data/app/com.mylafe.game.handsomecat-1/lib/arm64/liblayaair.so (laya::JSAudio::play()+164) [arm64-v8a] 4 #03 pc 000000000044f8d8 /data/app/com.mylafe.game...

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

69. 安卓端概率性崩溃 [ 14%]

...ayaair.so (laya::JCAudioWavPlayer::playAudio(laya::JCAudioInterface*, std::string const&, bool)+184) [arm64-v8a] 3 #02 pc 000000000044f018 /data/app/com.mylafe.game.handsomecat-1/lib/arm64/liblayaair.so (laya::JSAudio::play()+164) [arm64-v8a] 4 #03 pc 000000000044f8d8 /data/app/com.mylafe.game...

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