大约有 56 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0056 秒)
...e : 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(); //添加预制体到场景中 this.scene.addChild( monkey ); monkey.t...
来源: Laya3.0_文档 发布时间: 20251105
...用的面板: 功能名称 操作 场景面板Scene Ctrl + 1 运行面板Game Ctrl + 2 属性面板Inspector Ctrl + 3 层级面板Hierarchy Ctrl + 4 项目资源面板Project Ctrl + 5 控制台面板Console Ctrl + 6 时间轴面板Timeline Ctrl + 7 1.2 文件与节点的通用操作 1.2.1 重命...
来源: Laya3.0_文档 发布时间: 20251010
... specified. 2018-11-26 18:31:47.346 4749-4749/com.layabox.dotJourney E/LayaGameEngine: game_plugin_set_option key=localize value=false 2018-11-26 18:31:47.346 4749-4749/com.layabox.dotJourney E/LayaGameEngine: game_plugin_set_option key=gameUrl value=http://106.15.95.203:20100/web/index.html 2018-11...
来源: Laya_社区 发布时间: 20181126
...) sp3: Laya.Sprite3D; constructor() { super(); } onEnable() { console.log("Game onStart", this.sp3.name); } } 除非有特别的需求,我们并不建议这样做,一方面是因为静态物体更有利于IDE内进行编辑。另一方面是因为场景编辑器为了性能优化,帧率刷新...
来源: Laya3.0_文档 发布时间: 20251010
...特效的路径 private filePath = "FireEffect"; onStart() { console.log("Game start"); //加载粒子特效资源 Laya.loader.load(this.filePath, Handler.create(this, () => { })); } //每次鼠标点下屏幕后,会创建一个特效 mouseDown(e: Event): void { var particle = Particle3D.Create...
来源: Laya3.0_文档 发布时间: 20251010
...特效的路径 private filePath = "FireEffect"; onStart() { console.log("Game start"); //加载粒子特效资源 Laya.loader.load(this.filePath, Handler.create(this, () => { })); } //每次鼠标点下屏幕后,会创建一个特效 mouseDown(e: Event): void { var particle = Particle3D.Create...
来源: Laya3.0_文档 发布时间: 20250104