大约有 2,831 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0089 秒)
Laya_社区(1671) Laya3.0_api(668) Laya2.0_文档(133) Laya2.0_api(128) laya_api(122) Laya3.0_文档(82) Laya2.0_示例(16) Laya_示例(11)
...持情况如下: Unity的灯光属性 LayaAir是否支持导出的说明 Type(灯光类型) 部分支持(包括:Spot聚光(Range照射范围、Spot Angle聚光灯锥形角度)、Directional平行光、Point点光(Range照射范围)) Color(灯光颜色) 支持 Mode(灯光模...
来源: Laya3.0_文档 发布时间: 20251010
...Laya; @regClass() export 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.h...
来源: Laya3.0_文档 发布时间: 20251010
...is.view.m_character.width/2, this.view.m_character.height/2) p.type = "static" this.character.pivot(this.view.m_character.x, this.view.m_character.y) // rig.gravityScale = 0.2 this.rig.allowRotation = false this.rig.gravityScale = 6 ...
来源: Laya_社区 发布时间: 20221207
...动。 Angle:扇形圆心角的角度. Radius:扇形的半径。 Emit Type:粒子发射的位置。Base:粒子在扇形内圈半径随机位置发射。Area:粒子在扇形区域内随机位置发射。 Length:Emit Type为Area时生效,用于控制扇形区域的宽度。 通过在粒...
来源: Laya3.0_文档 发布时间: 20251010
...ay = [ { url: "res/atlas/lobby/create_room.atlas", type: Laya.Loader.ATLAS }, ....... ]; let createGameScene = () => { Laya.stage.width = 1218; ...
来源: Laya_社区 发布时间: 20181213
...在屏 Canvas” 的放缩策略 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 微信小游戏如何使用ttf字体? 分享:打地鼠 AS、JS、TS版本 Demo! 分享:适配LayaAir版本的PureMVC框架 LayaAirIDE下如...
来源: Laya_社区 发布时间: 20180822
...的源码 __proto.layout=function(){ if (!this.style)return; this.style._type |=/*laya.display.css.CSSStyle.ADDLAYOUTED*/0x200; var tArray=Layout.layout(this); if (tArray){ if (!this._$P.mHtmlBounds)this._set$P("mHtmlBounds",new Rectangle()); var tRectangle=this._$P.mHtmlBounds; tRectangle...
来源: Laya_社区 发布时间: 20180104
...ay = [ { url: "res/atlas/lobby/create_room.atlas", type: Laya.Loader.ATLAS }, ....... ]; let createGameScene = () => { Laya.stage.width = 1218; ...
来源: Laya_社区 发布时间: 20181202
...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.VScrollBar)。 VScrollBar 组件的图像资源示例:  (图1)  (图2)  (图...
来源: Laya2.0_文档 发布时间: 20210715
...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.HScrollBar)。 HScrollBar 组件的图像资源示例:  (图1)  (图2)  (图...
来源: Laya2.0_文档 发布时间: 20210714