大约有 69 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0048 秒)
Laya_社区(44) Laya2.0_文档(8) Laya3.0_api(5) Laya3.0_文档(4) Laya2.0_api(3) laya_api(3) Laya_示例(1) Laya2.0_示例(1)
... private mDecorate:Decorate;//装饰器 private mHost: string; private mPort: number; private mConnected: boolean; /** 开启*/ public static OPEN: string = "open"; /** 关闭*/ public static CLOSE: string = ...
来源: Laya_社区 发布时间: 20161109
...tPosition; if (data) { if (typeof (data) == 'string') { this._input.writeUTFBytes(data); } else { this._input.writeArrayBuffer(data); } this._addInputPosition = this._i...
来源: Laya_社区 发布时间: 20220822
... 总之,为了兼顾JS,AS3基础语法可以用,基础类型Numer,String,Object可以用,Int估计也是用Number凑合着用,JS有的那就可以用,JS没有的就必须用Laya引擎提供的库的API才行是吗? 希望能得到解答,万分感谢!! 2017-05-10 添加评...
来源: Laya_社区 发布时间: 20170510
...有三个文件,一个是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
...也可以省略这个声明 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
... 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
...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
...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
...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