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

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

251. googleplay资源zip包,入口页无法获取 [ 50%]

...eProxy.java中的getExpansionMainPath这个方法,改成如下: public String getExpansionMainPath() { return "/storage/emulated/0/com.layabox.conch5/resource.zip"; } 这样应该是能够对应上的,因为我看读取logo.png的时候已经到这个zip文件中查找了,但是ind...

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

252. 设置适配SCALE_FIXED_WIDTH,结果少部分andriod机型不能正确适配屏幕 [ 50%]

...       }         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

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

...也可以省略这个声明 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

254. 和原生Dom交互 · LayaAir3.3 · 引擎文档 · LAYABOX [ 48%]

...显示这个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

255. laya.d3.core.material.TerrainMaterial [ 47%]

...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

256. [LayaAir3]3.3.0-beta.4已知新bug汇总 [ 46%]

... 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

257. socket大型项目回调 [ 46%]

...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

258. laya.d3.core.trail.TrailMaterial [ 46%]

... 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

259. laya.d3.core.material.EffectMaterial [ 46%]

... 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

260. laya.d3.core.particleShuriKen.ShurikenParticleMaterial [ 45%]

... 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