大约有 773 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0056 秒)
Laya_社区(382) Laya2.0_文档(85) Laya3.0_api(74) Laya2.0_api(66) laya_api(63) Laya3.0_文档(44) Laya_示例(32) Laya2.0_示例(27)
...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
...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
...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
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
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
...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
....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
....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
....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
... 打开界底层是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