大约有 842 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0082 秒)
Laya_社区(496) Laya3.0_api(111) Laya3.0_文档(70) Laya_示例(45) Laya2.0_api(42) laya_api(39) Laya2.0_文档(30) Laya2.0_示例(9)
... export default class TestUI extends ui.test.TestSceneUI { private resource: Array<String> = [ "gate/Conventional/Test.ls", ]; constructor() { super(); } onAwake(): void { Laya.loader.create(this.resource, Laya.Handler.create(this, this.onPreLoad...
来源: Laya_社区 发布时间: 20190925
...档中的说明为准。 > > **Tips:** > > “D:\layaide2.0\layaairide\resources\app\out\vs\layaEditor\laya\libs\2.0.0beta\as\laya.js.exe”应为laya.js.exe的实际所在路径。 > > **MAC系统下为“”userPath“\layaairide\resources\app\out\vs\layaEditor\laya\libs\2.0.0beta\as\LayaJSMac...
来源: Laya2.0_文档 发布时间: 20210715
...aya.stage.screenMode = Laya.Stage.SCREEN_NONE; //预加载所有资源 var resource:Array = ["res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"]; Laya.loader.create(resource, Laya.Handler.create(this, this.onComplete)); } onComplete(){ //记载场景 var scene = Laya.stage.addChild(new Laya.Scene3D...
来源: Laya2.0_文档 发布时间: 20210714
...lass WaterPrimaryMaterialInheritanceWaterPrimaryMaterial BaseMaterial laya.resource.Resource ... Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明...
来源: Laya2.0_api 发布时间: 20190513
...zip文件放到了手机目录中的storage\emulated\0\com.layabox.conch5\resource.zip中。 在游戏中加载入口页的话,还是用的本地加载mPlugin.game_plugin_set_option("localize", "true"); mPlugin.game_plugin_set_option("gameUrl", "http://stand.alone.version/ind ... 6quot;); 因为...
来源: Laya_社区 发布时间: 20180327
...mplet.TEMPLET_DICTIONARY[this.url]; } laya.resource.Resource.prototype.destroy.call(this); } 骨骼释放纹理 Templet.TEMPLET_DICTIONARY[this.url] url用错了导致Templet删不掉 应该用 if (this._relativeUrl){ delete Templet.TEMPLET_DICTIONARY[this....
来源: Laya_社区 发布时间: 20190704
...port laya.d3.core.scene.Scene; import laya.d3.math.Vector3; import laya.d3.resource.TextureCube; import laya.d3.resource.models.SkyBox; import laya.display.Stage; import laya.utils.Stat; import common.VRCameraMoveScript; public class VRScene2 { public function VRScene2() { Laya3D.init(0, 0, true); L...
来源: Laya_示例 发布时间: 20251209
...aya.stage.screenMode = Laya.Stage.SCREEN_NONE; //预加载所有资源 var resource:Array = ["res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"]; Laya.loader.create(resource, Laya.Handler.create(this, this.onComplete)); } onComplete(){ //记载场景 var scene = Laya.stage.addChild(new Laya.Scene3D...
来源: Laya2.0_文档 发布时间: 20210715
...flys 赞同来自: @快雪时晴 大佬我发现 LayaAir IDE 2.5.0beta\resources\app\node_modules 目录下一直有tslib模块,但是编译还是会报 “This syntax requires an imported helper but module 'tslib' cannot be found”错误,不管noEmitHelpers是不是=false。(两天了,...
来源: Laya_社区 发布时间: 20200309
...要回复问题请先登录 发起人 itachi1d 相关问题 Failed to load resource: net::ERR_FILE_NOT_FOUND unity导出的场景在手机上提示"request:fail invalid url" FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory FATAL ERROR: CALL_AND_RETRY_LAST Allocation...
来源: Laya_社区 发布时间: 20180105