大约有 301 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0050 秒)
...eraDistance _initialize _setOwner destroy getUITexture hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onReset onStart onUpdate setRenderbitFlag __init__ changeVertexDefine shaderValueInit Constructors constructor new UI3D(): UI3D Overrides BaseRender.constructor D...
来源: Laya3.0_api 发布时间: 20231115
...ouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Node onAwake():void 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 此方法为虚方法,使用时重写覆盖即可 Node once(type:String, caller:*, listener:Function, arg...
来源: Laya2.0_api 发布时间: 20190513
...此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.tab.pos(200, 200); this.tab.labelBold = true; this.tab.labelSize = 20; this.tab.labelStrokeColor = "#000000"; this.tab.labels = "Tab 1,Tab 2,Tab 3"; this.tab.labelColors = "#32556b,#8FB299,#ff0000"; this....
来源: Laya3.0_文档 发布时间: 20251010
...此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.hscroll.skin = "atlas/comp/hscroll.png";//滚动条皮肤 this.hscroll.width = 300;//滚动条的宽度 this.hscroll.pos(300, 300);//滚动条的位置 this.hscroll.min = 0;//滑块的最小滚动位置 t...
来源: Laya3.0_文档 发布时间: 20251010
...此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.vscroll.skin = "atlas/comp/vscroll.png";//滚动条皮肤 this.vscroll.width = 300;//滚动条的宽度 this.vscroll.pos(300, 300);//滚动条的位置 this.vscroll.min = 0;//滑块的最小滚动位置 t...
来源: Laya3.0_文档 发布时间: 20251010
...ollisionFlags getPhysicsOrientation getPhysicsPosition hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate setCollisionFlags wakeUp Constructors constructor new Rigidbody3D(collisionGroup?: number, canCollideWith?: number): Rigidbod...
来源: Laya3.0_api 发布时间: 20231115
...此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.checkbox.pos(300, 300); // this.checkbox.selected = true; this.checkbox.label = "多选框"; this.checkbox.labelBold = true; this.checkbox.labelSize = 30; this.checkbox.labelColors = "#0100ff, #16fa0e, #f...
来源: Laya3.0_文档 发布时间: 20251010
...lag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeInputChild removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constr...
来源: Laya3.0_api 发布时间: 20231102
...此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.clip.pos(Laya.stage.width >> 1, Laya.stage.height >> 1); // 位置 this.clip.skin = "atlas/comp/clip_num.png"; // 皮肤 this.clip.interval = 1000; // 切片动画的播放时间间隔1000毫...
来源: Laya3.0_文档 发布时间: 20251010
... = new Laya.Sprite(); let s = new Laya.Script(); s.onAwake = ()=>{ //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 } s.onLateUpdate = ()=>{ //每帧更新时执...
来源: Laya_社区 发布时间: 20181023