大约有 1,007 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0071 秒)
Laya_社区(614) Laya3.0_api(140) Laya2.0_文档(93) Laya2.0_api(74) laya_api(53) Laya3.0_文档(29) Laya2.0_示例(2) Laya_示例(2)
... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage stateNum get stateNum(): number set stateNum(value: number): void Inherited from Button.stateNum Defined in laya/ui/Button.ts:351 指定对象的状态值,以数字表示。 默认值...
来源: Laya3.0_api 发布时间: 20231115
... 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
...d in laya/display/Node.ts:738 组件被禁用时执行,比如从节点从舞台移除后 此方法为虚方法,使用时重写覆盖即可 Returns void onEnable onEnable(): void Inherited from Node.onEnable Defined in laya/display/Node.ts:730 组件被启用后执行,比如节点被添加到...
来源: Laya3.0_api 发布时间: 20231115
...d in laya/display/Node.ts:738 组件被禁用时执行,比如从节点从舞台移除后 此方法为虚方法,使用时重写覆盖即可 Returns void onEnable onEnable(): void Inherited from Node.onEnable Defined in laya/display/Node.ts:730 组件被启用后执行,比如节点被添加到...
来源: Laya3.0_api 发布时间: 20231115
...d in laya/display/Node.ts:738 组件被禁用时执行,比如从节点从舞台移除后 此方法为虚方法,使用时重写覆盖即可 Returns void onEnable onEnable(): void Inherited from Node.onEnable Defined in laya/display/Node.ts:730 组件被启用后执行,比如节点被添加到...
来源: Laya3.0_api 发布时间: 20231115
...a/components/Component.ts:312 组件被禁用时执行,比如从节点从舞台移除后 Returns void Optional onLateUpdate onLateUpdate(): void Inherited from Component.onLateUpdate Defined in laya/components/Component.ts:297 每帧更新时执行,在update之后执行,尽量不要在这里...
来源: Laya3.0_api 发布时间: 20231115
...})(); 调用 // 创建岛屿 this.island = new IsLand(); // 岛屿添加到舞台 Laya.stage.addChild(this.island); this.island.autoSize = true; this.island.move(100,100); 没有一起移动 2017-07-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20170720
...d in laya/display/Node.ts:738 组件被禁用时执行,比如从节点从舞台移除后 此方法为虚方法,使用时重写覆盖即可 Returns void onEnable onEnable(): void Defined in laya/display/Node.ts:730 组件被启用后执行,比如节点被添加到舞台后 此方法为虚方法...
来源: Laya3.0_api 发布时间: 20231115
...d in laya/display/Node.ts:728 组件被禁用时执行,比如从节点从舞台移除后 此方法为虚方法,使用时重写覆盖即可 Returns void onEnable onEnable(): void Inherited from Node.onEnable Defined in laya/display/Node.ts:720 组件被启用后执行,比如节点被添加到...
来源: Laya3.0_api 发布时间: 20231102
...而来满足开发者的屏幕需求。 缩放适配模式涉及画布、舞台、适配算法等诸多知识点,我们在另一篇文档《屏幕适配》里详细介绍。 1.1.2 横竖屏适配 有的时候,我们需要根据屏幕的比例强制横竖屏设置,在IDE中可以通过设置屏...
来源: Laya3.0_文档 发布时间: 20251014