大约有 301 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0065 秒)
...此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.hbox.pos(100, 100); this.hbox.bgColor = "#ffffff"; this.hbox.space = 100; this.hbox.align = "middle"; } } 二、通过代码创建HBox组件 有时,需要用代码管理UI,创建UI_HBox类用于创建...
来源: Laya3.0_文档 发布时间: 20251010
...池,不正确的回收以及调用,可能会影响事件的执行。 onAwake(): void { console.log("Game Start"); this.Tab.selectHandler = Laya.Handler.create(this,(index:number)=>{ console.log(index); }) } Tab会侦听用户点了某个标签,并从对象池创建一个处理器。 2...
来源: Laya3.0_文档 发布时间: 20251010
...此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.vbox.pos(100, 100); this.vbox.bgColor = "#ffffff"; this.vbox.space = 30; this.vbox.align = "center"; } } 二、通过代码创建VBox 有时,需要用代码管理UI,创建UI_VBox类用于创建VBox组...
来源: Laya3.0_文档 发布时间: 20251010
...eflection _cloneTo _initialize _setOwner clear destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate setRenderbitFlag __init__ changeVertexDefine shaderValueInit Constructors constructor new TrailRenderer(): TrailRenderer Over...
来源: Laya3.0_api 发布时间: 20231115
...rRenderNode _setOwner _updateOneRender addList destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate reBatch setRenderbitFlag __init__ changeVertexDefine shaderValueInit Constructors constructor new StatiVertexMergeBatchRender...
来源: Laya3.0_api 发布时间: 20231115
...此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.radio.skin = "atlas/comp/radio.png"; //皮肤 this.radio.stateNum = 3; //皮肤状态 this.radio.label = "确定"; //文本标签 this.radio.labelFont = "宋体"; //文本标签字体 this.radio.labelSize...
来源: Laya3.0_文档 发布时间: 20251010
... getPhysicsSimulation getcurrentForce getcurrentTorque hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate setAxis setConnectRigidBody setConstraintEnabled setOverrideNumSolverIterations Constructors constructor new ConfigurableCons...
来源: Laya3.0_api 发布时间: 20231115
...时所有节点和组件均已创建完毕,次方法只执行一次 */ onAwake(): void { } /** * 第一次执行update之前执行,只会执行一次 */ onStart(): void { } onUpdate(): void { } onEnable(): void { } /** * 手动调用节点销毁时执行 */ onDestroy(): void { } }...
来源: Laya_社区 发布时间: 20181013
...lag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce Constructors constructor new Node(): Node Defined in ...
来源: Laya3.0_api 发布时间: 20231115
...lag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new Sprite3...
来源: Laya3.0_api 发布时间: 20231115