• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 729 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0040 秒)

621. 面板容器组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 43%]

...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

622. 垂直布局容器组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 43%]

...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

623. laya.resource.RenderTexture_API3.0 [ 43%]

...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

624. 水平布局容器组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 43%]

...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

625. laya.physics.joint.PulleyJoint_API3.0 [ 43%]

...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

626. laya.resource.RenderTexture2D_API3.0 [ 43%]

...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

627. laya.physics.joint.WeldJoint_API3.0 [ 43%]

...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

628. laya.resource.NativeRenderTexture2D_API3.0 [ 42%]

...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

629. laya.physics.joint.MouseJoint_API3.0 [ 42%]

...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

630. 使用createFrames创建的图集动画。如何单独修改这个缓存动画播放速度 [ 42%]

...画实例就可以拥有不同的播放速度了!/** * 角色创建 */ 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