大约有 47 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0053 秒)
...默认值为0。以角度为单位。Sprite stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean 是否静态缓存此对象的当前帧的最终属性。为 true 时,子对象变化时不会自动更新缓存,但是可以通过调用 reCache 方法手动刷新。 ...
来源: laya_api 发布时间: 20170929
...a/components/Component.ts:312 组件被禁用时执行,比如从节点从舞台移除后 Returns void onEnable onEnable(): void Inherited from Component.onEnable Defined in laya/components/Component.ts:281 组件被启用后执行,比如节点被添加到舞台后 Returns void Optional onLateUpd...
来源: Laya3.0_api 发布时间: 20231115
...a/components/Component.ts:312 组件被禁用时执行,比如从节点从舞台移除后 Returns void onEnable onEnable(): void Inherited from Component.onEnable Defined in laya/components/Component.ts:281 组件被启用后执行,比如节点被添加到舞台后 Returns void Optional onLateUpd...
来源: Laya3.0_api 发布时间: 20231115
...a/components/Component.ts:312 组件被禁用时执行,比如从节点从舞台移除后 Returns void onEnable onEnable(): void Inherited from Component.onEnable Defined in laya/components/Component.ts:281 组件被启用后执行,比如节点被添加到舞台后 Returns void Optional onLateUpd...
来源: Laya3.0_api 发布时间: 20231115
...a/components/Component.ts:312 组件被禁用时执行,比如从节点从舞台移除后 Returns void onEnable onEnable(): void Inherited from Component.onEnable Defined in laya/components/Component.ts:281 组件被启用后执行,比如节点被添加到舞台后 Returns void Optional onLateUpd...
来源: Laya3.0_api 发布时间: 20231115
...a/components/Component.ts:312 组件被禁用时执行,比如从节点从舞台移除后 Returns void onEnable onEnable(): void Inherited from Component.onEnable Defined in laya/components/Component.ts:281 组件被启用后执行,比如节点被添加到舞台后 Returns void Optional onLateUpd...
来源: Laya3.0_api 发布时间: 20231115
...Awake(): void { } /** * 组件被启用后执行,比如节点被添加到舞台后 * 此方法为虚方法,使用时重写覆盖即可 */ onEnable(): void { } /** * 组件被禁用时执行,比如从节点从舞台移除后 * 此方法为虚方法,使用时重写覆盖即可 */ onDisable(): ...
来源: Laya3.0_文档 发布时间: 20251010
... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from Text.staticCache Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有...
来源: Laya3.0_api 发布时间: 20231115
...会在调用open方法后,延迟打开loading界面,在页面添加到舞台之后,关闭loading界面 Laya.Scene.showLoadingPage(param: any = null, delay: number = 500) 显示loading界面,打开参数,如果是scene,则会传递给 onOpened 方法。延迟打开时间,默认500毫秒...
来源: Laya3.0_文档 发布时间: 20251010
...Value 来让外部控制 能量条的 进度 我们把能量条都添加到舞台上面吧~~ 打开runGame.js(function () { /** * 游戏入口 */ function RunGame(){ this.bg = null; this.mapFloor = null; this.player = null; this.flyEnergy = null; this.speedEnergy = null; RunGame.__super.call(this); ...
来源: Laya_社区 发布时间: 20160803