大约有 3 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0020 秒)
...组预制体的实现代码: import { LoadingRTBase } from "./LoadingRT.generated"; const { regClass, property } = Laya; @regClass() export default class LoadingRT extends LoadingRTBase { onAwake(): void { Laya.loader.load( //先加载本场景要用的 ["resources/UI/image.png", "resources/UI/pro...
来源: Laya3.0_文档 发布时间: 20241014
...组预制体的实现代码: import { LoadingRTBase } from "./LoadingRT.generated"; const { regClass, property } = Laya; @regClass() export default class LoadingRT extends LoadingRTBase { onAwake(): void { Laya.loader.load( //先加载本场景要用的 ["resources/UI/image.png", "resources/UI/pro...
来源: Laya3.0_文档 发布时间: 20251105
...t来设置。 示例代码如下: import { IndexRTBase } from "./IndexRT.generated"; const { regClass } = Laya; @regClass() export default class IndexRT extends IndexRTBase { onAwake(): void { //设置舞台设计宽高 Laya.stage.designWidth = 1080; Laya.stage.designHeight = 1920; //在引擎初...
来源: Laya3.0_文档 发布时间: 20251010