大约有 273 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0038 秒)
...typescript if (Laya.Browser.onAndroid) Laya.URL.basePath = "res/threeDimen/scene/LayaScene_TextureGPUCompression/Android/"; else if (Laya.Browser.onIOS) Laya.URL.basePath = "res/threeDimen/scene/LayaScene_TextureGPUCompression/IOS/"; else Laya.URL.basePath = "res/threeDimen/scene/LayaScene_TextureGP...
来源: Laya2.0_文档 发布时间: 20210714
...javascript if (Laya.Browser.onAndroid) Laya.URL.basePath = "res/threeDimen/scene/LayaScene_TextureGPUCompression/Android/"; else if (Laya.Browser.onIOS) Laya.URL.basePath = "res/threeDimen/scene/LayaScene_TextureGPUCompression/IOS/"; else Laya.URL.basePath = "res/threeDimen/scene/LayaScene_TextureGP...
来源: Laya2.0_文档 发布时间: 20210715
...纹理 ```typescript if (Browser.onAndroid) URL.basePath = "res/threeDimen/scene/LayaScene_TextureGPUCompression/Android/"; else if (Laya.Browser.onIOS) URL.basePath = "res/threeDimen/scene/LayaScene_TextureGPUCompression/IOS/"; else URL.basePath = "res/threeDimen/scene/LayaScene_TextureGPUCompressi...
来源: Laya2.0_文档 发布时间: 20210714
... this.hitResult=new Laya.HitResult(); Laya.Scene3D.load("res/LayaScene_game/Conventional/game.ls",Laya.Handler.create(null,function(scene3d){ // HelperApp.a = scene3d; //加载完成获取到了Scene3d scene3d.name...
来源: Laya_社区 发布时间: 20220506
...ag =1或0,播放时有黑背景,克隆没有尝试。 附件 : --> LayaScene_zhadan.rar 2019-11-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: 用2.4的版本复现 在2.4版本基...
来源: Laya_社区 发布时间: 20191126
... 与 libs目录: 项目代码和引擎库。 resources资源目录 与 Scene.ls: resources资源目录和场景文件Scene.ls,小游戏由于初始包的限制,建议将初始包的内容提前规划好,最好能放到统一的目录下,便于初始包的剥离。 fileconfig.json: 文...
来源: Laya3.0_文档 发布时间: 20251010
...随便取的名。 ```typescript import laya.d3.component.Script3D; class SceneScript extends Script3D { //用于表现的方法 public var showMsgFunc:Function; public function SceneScript() { } //对应unity添加的AnimationEvent的动画事件函数,名字是可以对应上的 public function ...
来源: Laya2.0_文档 发布时间: 20210715
...的天空盒有黑块. 在web和微信模拟器上都是正常的 var sceneUrl:string = "scene1/Conventional/scene_battle.ls"; var completeFunc = (scene)=>{ var sc = Laya.loader.getRes(sceneUrl); Laya.stage.addChild(sc); ...
来源: Laya_社区 发布时间: 20191012
...法实现点击注册按钮跳转到登录页面。注意,是使用场景Scene构建的页面。 附件 : --> 2025-10-07 2 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 ZmySir 赞同来自: 脚本代码:如图...
来源: Laya_社区 发布时间: 20251007
...件的触发这里是随便取的名。 ```typescript export default class SceneScript extends Laya.Script3D { constructor(){ super(); //用于表现的方法 this.showMsgFunc = null; } //对应unity添加的AnimationEvent的动画事件函数,名字是可以对应上的 ShowMsg() { console.log("S...
来源: Laya2.0_文档 发布时间: 20210715