大约有 269 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0054 秒)
Laya_社区(77) Laya3.0_api(71) Laya2.0_api(53) laya_api(38) Laya3.0_文档(14) Laya2.0_文档(10) Laya2.0_示例(3) Laya_示例(3)
...eProxy.java中的getExpansionMainPath这个方法,改成如下: public String getExpansionMainPath() { return "/storage/emulated/0/com.layabox.conch5/resource.zip"; } 这样应该是能够对应上的,因为我看读取logo.png的时候已经到这个zip文件中查找了,但是ind...
来源: Laya_社区 发布时间: 20180327
... } private getGets() { var tempUrl: String = Laya.Browser.window.location.href; var u = tempUrl.split("?"); var gets: Object = {}; if (u[1]) { u = u[1].split("&"); ...
来源: Laya_社区 发布时间: 20181202
...也可以省略这个声明 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
...显示这个img。我们新建个项目。代码如下所示: var data: string = "data:image/svg+xml," + '<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">' + '<foreignObject width="100%" height="100%">' + '<div xmlns="http://www.w3.org/1999/xhtml" style="font-size:4...
来源: Laya3.0_文档 发布时间: 20251010
...oid 克隆。 BaseMaterial disableLight():voidTerrainMaterial load(url:String, complete:Handler):void[static] 加载材质。 BaseMaterial setDetailNum(value:int):voidTerrainMaterial setDiffuseScale1(x:Number, y:Number):voidTerrainMaterial setDiffuseScale2(x:Number, y:Number):voidTerrai...
来源: Laya2.0_api 发布时间: 20190513
... if (Laya.LayaEnv.version == "3.3.0-beta.4") { Scene.open = function (url: string, closeOther?: boolean, param?: any, complete?: any, progress?: any): Promise<Laya.Scene> { if (typeof (complete) === "function") { progress = complete; complete = null; } if (typeof (param) === "function") comple...
来源: Laya_社区 发布时间: 20250609
...a{ export class Pomelo{ static DEBUG:boolean = true; static EVENT_IO_ERROR:string = "io-error"; static EVENT_CLOSE:string = "close"; static EVENT_KICK:string = "onKick"; static EVENT_HEART_BEAT_TIMEOUT:string = 'heartbeat timeout'; private JS_WS_CLIENT_TYPE:string = 'js-websocket'; private JS_WS_CLI...
来源: Laya_社区 发布时间: 20180119
... BaseMaterial cloneTo(destObject:*):void 克隆。 BaseMaterial load(url:String, complete:Handler):void[static] 加载材质。 BaseMaterial setShaderName(name:String):void 设置使用Shader名字。 BaseMaterialProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods...
来源: Laya2.0_api 发布时间: 20190513
... BaseMaterial cloneTo(destObject:*):void 克隆。 BaseMaterial load(url:String, complete:Handler):void[static] 加载材质。 BaseMaterial setShaderName(name:String):void 设置使用Shader名字。 BaseMaterialProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods...
来源: Laya2.0_api 发布时间: 20190513
... BaseMaterial cloneTo(destObject:*):void 克隆。 BaseMaterial load(url:String, complete:Handler):void[static] 加载材质。 BaseMaterial setShaderName(name:String):void 设置使用Shader名字。 BaseMaterialProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods...
来源: Laya2.0_api 发布时间: 20190513