大约有 384 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0042 秒)
...rientation getPhysicsPosition getVerticalVel hasHideFlag jump move onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new CharacterController(stepheight?: number, upAxis?: Vector3, collisionGroup?: number, canCollideWi...
来源: 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 BatchRender(): BatchRender ...
来源: 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_文档 发布时间: 20241014
...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
...alize _setOwner addLine addLines clear destroy getLine hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate removeLine setLine setRenderbitFlag __init__ changeVertexDefine shaderValueInit Constructors constructor new PixelLineRendere...
来源: 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.vslider.pos(300,300);//滑动条位置 this.vslider.skin = "resources/vslider.png";//滑动条底图皮肤 this.vslider.value = 0.5; this.vslider.max = 50; this.vslider.min = 0; this.vslider.tick = 1; thi...
来源: Laya3.0_文档 发布时间: 20241014
...此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.hslider.pos(300, 300);//滑动条位置 this.hslider.skin = "resources/hslider.png";//滑动条底图皮肤 this.hslider.value = 0.5; this.hslider.max = 50; this.hslider.min = 0; this.hslider.tick = 1; th...
来源: Laya3.0_文档 发布时间: 20241014
...rated"; @regClass() export class RuntimeScript extends RuntimeScriptBase { onAwake(): void { this.closeBtn.on(Laya.Event.CLICK, this, () => { this.close(); }); } } 1.3.3 关联场景 设置好弹窗之后,需要用代码将Dialog与所需要用到该Dialog的场景管关联起来。回到初始...
来源: Laya3.0_文档 发布时间: 20241014
... @property({ type: Laya.Text }) txt: Laya.Text; constructor() { super(); } onAwake(): void { this.txt.text = "第{n=1}页"; //显示文本的初始化内容 } onStart(): void { let page: number = 1; Laya.timer.frameLoop(10, this, () => { page += 1; //在定时器中让变量page每次自增1 this...
来源: Laya3.0_文档 发布时间: 20241014