大约有 44 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0067 秒)
...I DocumentationAll Packages | All Classes | Index | Frames No Frames SceneProperties | Methods | Events Packagelaya.displayClasspublic class SceneInheritanceScene Sprite Node EventDispatcher Object 场景类,负责场景创建,加载,销毁等功能 场景被从节点移除后,并...
来源: Laya2.0_api 发布时间: 20190513
....HIERARCHY).then((res: any) => { let view: Laya.Scene = res.create(); view.open(false, ...param); })这边能正常输出传递的参数 2025-06-09 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题...
来源: Laya_社区 发布时间: 20250609
...闭b的时候,a依然存在。怎么做? 我在ide中做了一个基础scene 1,一个dialog a 和一个dialog b。 从1,点击,弹出a;没问题; 从a,点击,弹出b,没问题。 但是我需要在操作b的时候,a一直存在。这样我可以从b关闭后,继续操作a。 ...
来源: Laya_社区 发布时间: 20190521
一个关于laya.display.scene不成熟的小建议 建议把scene里的静态方法: static load(url: string, complete?: Handler, progress?: Handler): void; static open(url: string, closeOther?: boolean, param?: any, complete?: Handler, progress?: Handler): void; static close(url: string, name?:...
来源: Laya_社区 发布时间: 20181128
...beta4的先列出(目前只说遇到的, 后续发现再持续记录) 1. Scene.open 我们使用这个打开常见会传递参数, beta4中, 没有将params传递到onOpened响应函数中 下面是临时补救的shim if (Laya.LayaEnv.version == "3.3.0-beta.4") { Scene.open = function (url: strin...
来源: Laya_社区 发布时间: 20250609
...pe : Laya.Camera } ) private camera: Laya.Camera; @property( { type : Laya.Scene3D } ) private scene: Laya.Scene3D; onStart() { console.log("Game start"); //加载预制体文件 Laya.loader.load("resources/Prefab.lh").then( (res)=>{ //创建预制体 let monkey: Laya.Sprite3D = res.create(); //...
来源: Laya3.0_文档 发布时间: 20241014
...pe : Laya.Camera } ) private camera: Laya.Camera; @property( { type : Laya.Scene3D } ) private scene: Laya.Scene3D; onStart() { console.log("Game start"); //加载预制体文件 Laya.loader.load("resources/Prefab.lh").then( (res)=>{ //创建预制体 let monkey: Laya.Sprite3D = res.create(); //...
来源: Laya3.0_文档 发布时间: 20251105
... this.store.isDemo = true; Laya.Scene.open("scene/Home.scene") }), new Laya.Handler(this, (value: number) => { this._page = this.page this.mask_value = valu...
来源: Laya_社区 发布时间: 20201102
.../ui/View" View Class View View 是一个视图类 在2.0里,View继承自Scene类,但这是不合理的,Scene是一个2D+3D的大概念。所以在3.0里请忽略这个继承。 Hierarchy Scene View Dialog Index Constructors constructor Properties _extra _ownGraphics _scene _scene3D _skinBaseU...
来源: Laya3.0_api 发布时间: 20231115
...Protected All Inherited Externals Only exported Menu Globals "laya/display/Scene" Scene Class Scene 场景类,负责场景创建,加载,销毁等功能 场景被从节点移除后,并不会被自动垃圾机制回收,如果想回收,请调用destroy接口,可以通过unDestroyedScenes...
来源: Laya3.0_api 发布时间: 20231115