大约有 729 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0040 秒)
Laya3.0_api(284) Laya2.0_api(154) laya_api(114) Laya_社区(84) Laya2.0_文档(47) Laya3.0_文档(44) Laya2.0_示例(1) Laya_示例(1)
...port class NewScript extends Laya.Script { @property({ type: Laya.Panel }) public panel: Laya.Panel; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.panel.pos(100, 100); this.panel.size(200, 200); this.panel.scrollType = La...
来源: Laya3.0_文档 发布时间: 20251010
...xport class NewScript extends Laya.Script { @property({ type: Laya.VBox }) public vbox: Laya.VBox; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.vbox.pos(100, 100); this.vbox.bgColor = "#ffffff"; this.vbox.space = 30; thi...
来源: Laya3.0_文档 发布时间: 20251010
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/RenderTexture" RenderTexture Class RenderTexture Hierarchy BaseTexture RenderTexture WebXRRenderTexture RenderTextureCube Implements IR...
来源: Laya3.0_api 发布时间: 20231115
...xport class NewScript extends Laya.Script { @property({ type: Laya.HBox }) public hbox: Laya.HBox; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.hbox.pos(100, 100); this.hbox.bgColor = "#ffffff"; this.hbox.space = 100; th...
来源: Laya3.0_文档 发布时间: 20251010
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/joint/PulleyJoint" PulleyJoint Class PulleyJoint 滑轮关节:它将两个物体接地(ground)并彼此连接,当一个物体上升...
来源: Laya3.0_api 发布时间: 20231115
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/RenderTexture2D" RenderTexture2D Class RenderTexture2D RenderTexture 类用于创建渲染目标。 Hierarchy BaseTexture RenderTexture...
来源: Laya3.0_api 发布时间: 20231115
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/joint/WeldJoint" WeldJoint Class WeldJoint 焊接关节:焊接关节的用途是使两个物体不能相对运动,受到关节的限...
来源: Laya3.0_api 发布时间: 20231115
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/NativeRenderTexture2D" NativeRenderTexture2D Class NativeRenderTexture2D RenderTexture 类用于创建渲染目标。 Hierarchy BaseTex...
来源: Laya3.0_api 发布时间: 20231115
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/joint/MouseJoint" MouseJoint Class MouseJoint 鼠标关节:鼠标关节用于通过鼠标来操控物体。它试图将物体拖向当...
来源: Laya3.0_api 发布时间: 20231115
...画实例就可以拥有不同的播放速度了!/** * 角色创建 */ public function init(interval,type:String,hp:Number,speed:Number,hitRadius:Number,camp:Number,heroType:Number = 0):void { //初始化属性 this.type = type; this.hp = hp; this.speed = speed; this.hitRadius = hitRadius; this.ca...
来源: Laya_社区 发布时间: 20170420