大约有 356 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0051 秒)
...象池,方便下次复用 如果没有重置,则不进行回收复用 此方法为虚方法,使用时重写覆盖即可 ComponentProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods MethodDefined By _createJoint():void[override] MotorJoint _onAwake():void[ov...
来源: Laya2.0_api 发布时间: 20190513
...组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { //小游戏加载分包 Laya.loader.loadPackage("sub1", this.printProgress).then(() => { Laya.loader.load("sub1/Cube.lh").then((res: Laya.PrefabImpl) => { let sp3: Laya.Spri...
来源: Laya3.0_文档 发布时间: 20251010
...象池,方便下次复用 如果没有重置,则不进行回收复用 此方法为虚方法,使用时重写覆盖即可 ComponentProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods MethodDefined By _createJoint():void[override] RevoluteJoint _onAwake():void...
来源: Laya2.0_api 发布时间: 20190513
...频,可点击游戏右上角**三横-分享**的方式将视频发布,此方法发布的视频亦会带上相应的小游戏入口; ##### 小游戏商店 今日头条官方小游戏商店,基于算法推荐的形式分发小游戏 ##### 游戏频道 今日头条小游戏频道,基于算法...
来源: Laya2.0_文档 发布时间: 20210714
...此时所有节点和组件均已创建完毕,次方法只执行一次 此方法为虚方法,使用时重写覆盖即可 Returns void onDestroy onDestroy(): void Inherited from Node.onDestroy Defined in laya/display/Node.ts:204 销毁时执行 此方法为虚方法,使用时重写覆盖即可 ...
来源: Laya3.0_api 发布时间: 20231115
...此时所有节点和组件均已创建完毕,次方法只执行一次 此方法为虚方法,使用时重写覆盖即可 Returns void onClosed onClosed(type?: string): void Defined in laya/display/Scene.ts:167 关闭完成后,调用此方法(如果有关闭动画,则在动画完成后执...
来源: Laya3.0_api 发布时间: 20231115
...此时所有节点和组件均已创建完毕,次方法只执行一次 此方法为虚方法,使用时重写覆盖即可 Returns void onClosed onClosed(type?: string): void Inherited from Scene.onClosed Defined in laya/display/Scene.ts:167 关闭完成后,调用此方法(如果有关闭动...
来源: Laya3.0_api 发布时间: 20231115
...组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.txtin.pos(Laya.stage.width >> 1, Laya.stage.height >> 1); //位置 this.txtin.size(500, 60); //大小 this.txtin.pivot(this.txtin.width/2, this.txtin.height/2); /...
来源: Laya3.0_文档 发布时间: 20251010
...象池,方便下次复用 如果没有重置,则不进行回收复用 此方法为虚方法,使用时重写覆盖即可 ComponentProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods MethodDefined By _createJoint():void[override] PrismaticJoint _onAwake():voi...
来源: Laya2.0_api 发布时间: 20190513
...scaleMode="exactfit"; Laya.stage.alignH="left"; Laya.stage.alignV="top"; 此方法始终保证满屏,但内容会被拉伸变形,需要遍历每个元件,计算宽度被拉伸了多少,再反向压缩回来. Laya.stage.scaleMode="showall"; Laya.stage.alignH="center"; Laya.stage.alignV="middle";...
来源: Laya_社区 发布时间: 20171222