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

大约有 773 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0056 秒)

111. UI-ScrollBar [ 78%]

...crollBar; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_ScrollBar { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHO...

来源: Laya_示例 发布时间: 20240929

112. laya.ui.Widget_API3.0 [ 78%]

...All Inherited Externals Only exported Menu Globals "laya/ui/Widget" Widget Class Widget 相对布局插件 Hierarchy Component Widget Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath EMPTY Accessors awaked bottom centerX centerY destroyed enabled hideFlags id ...

来源: Laya3.0_api 发布时间: 20231102

113. UI-CheckBox [ 78%]

...ACING = 200, VERTICAL_SPACING = 100, X_OFFSET = 100, Y_OFFSET = 50, skins; class UI_CheckBox { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.st...

来源: Laya2.0_示例 发布时间: 20240929

114. laya.ui.View [ 78%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ViewProperties | Methods | Events Packagelaya.uiClasspublic class ViewInheritanceView Box Component Sprite Node EventDispatcher ObjectSubclasses Dialog View 是一个视图类。 Public Properties Hide Inherited Public ...

来源: laya_api 发布时间: 20170929

115. laya.ui.Widget [ 78%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames WidgetProperties | Methods | Constants Packagelaya.uiClasspublic class WidgetInheritanceWidget Component Object 相对布局插件 Public Properties Hide Inherited Public Properties Show Inherited Public Properties Pro...

来源: Laya2.0_api 发布时间: 20190513

116. UI-Tab [ 78%]

...Laya.Tab; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_Tab { private skins: Array = ["../../res/ui/tab1.png", "../../res/ui/tab2.png"]; constructor(){ // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage...

来源: Laya_示例 发布时间: 20240929

117. Label属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 78%]

....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Label)。 ​ Label 组件的资源示例: ​ ![图片0.png](img/1.png) ​ (图1) ​ Label组件拖放到编辑区后,设置 text 属性的值为 LayaAir IDE 后的显示效果如下: ​ ![图片0....

来源: Laya2.0_文档 发布时间: 20210715

118. VScrollBar属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 78%]

....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.VScrollBar)。 ​ VScrollBar 组件的图像资源示例: ​ ![图片0.png](img/1.png) ​ (图1) ​ ![图片0.png](img/2.png) ​ (图2) ​ ![图片0.png](img/3.png) ​ (图3) ​ ![图片0.p...

来源: Laya2.0_文档 发布时间: 20210715

119. HScrollBar属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 78%]

....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.HScrollBar)。 ​ HScrollBar 组件的图像资源示例: ​ ![图片0.png](img/1.png) ​ (图1) ​ ![图片0.png](img/2.png) ​ (图2) ​ ![图片0.png](img/3.png) ​ (图3) ​ ![图片0.p...

来源: Laya2.0_文档 发布时间: 20210714

120. LayaBox进阶之UI管理类 [ 78%]

... 打开界底层是addChild打开的;     新建一个UIManagerexport class UIManager { private mainContent: Laya.Sprite; private scene: GameScence; private uiList:any; constructor() { this.mainContent = new Laya.Sprite(); this.uiList = ; } }mainContent 为默认添加到的层级, GameScence ...

来源: Laya_社区 发布时间: 20190222