大约有 1,869 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0058 秒)
Laya_社区(616) Laya3.0_api(529) Laya2.0_api(242) laya_api(178) Laya2.0_文档(88) Laya_示例(78) Laya3.0_文档(70) Laya2.0_示例(68)
... var a:int = this.byte.getByte(); var b:int = this.byte.getInt16(); var c:Number = this.byte.getFloat32(); var d:String = this.byte.getString(); var e:String = this.byte.getUTFString(); } ```
来源: Laya2.0_文档 发布时间: 20210715
...onSelect); this.owner.addChild(tab); return tab; } private onSelect(index: number): void { console.log("当前选择的标签页索引为 " + index); } } 运行效果如下动图所示: (动图2-1) Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-10-1...
来源: Laya3.0_文档 发布时间: 20251010
...e: layaair2-cmd [command] [args] Options: -v, --version output the version number -h, --help output usage information Commands: compile compile project. publish publish project. help [cmd] display help for [cmd] ``` #### layaair2-cmd的帮助说明: 帮助中首先给出了命令的使用范例:...
来源: Laya2.0_文档 发布时间: 20210715
.../res/ui/combobox.png";//资源来自“引擎API使用示例” pageWidth: number; constructor() { super(); } // 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { Laya.loader.load(this.skin).then(() => { let ComboBox: Laya.ComboB...
来源: Laya3.0_文档 发布时间: 20251010
...t point2 = this.arr[1].transform.position; let angle: number = Math.atan2((point2.x - point1.x), (point2.z - point1.z)) * (180 / Math.PI); //角度 this.arr[0].transform.localRotationEulerY = angle; console.log("position = ",this.a...
来源: Laya_社区 发布时间: 20201120
...declare owner: Laya.Sprite; line2DRender: Laya.Line2DRender; lastMousePos: number[] = []; isDrawing: boolean = false; // 标记是否正在绘制 // 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onEnable(): void { // 添加2D线渲染器组件 th...
来源: Laya3.0_文档 发布时间: 20251010
...] Starting 'createAdapter_VIVO'... Failed to get the local adapter version number 安装@qgame/adapter 叔年心~厌世 • 2020-08-18 09:49 是这个吗
来源: Laya_社区 发布时间: 20200817
...tlas", "type":Laya.loader.ATLAS }, { 'url': "res/atlas/number.atlas", "type":Laya.loader.ATLAS }, { "url": 'res/atlas/battle.atlas', "type":Laya.loader.ATLAS } , { "url": 'res/atlas/battle/box.atlas', "type":Laya.loader.ATLAS...
来源: Laya_社区 发布时间: 20180525
...s Main { private _roomId = 0; constructor(roomId?: number) { this._roomId = roomId; Laya.init(750, 1218, Laya.WebGL); Laya.Browser.document.title = 'GG游戏; if (Laya.Browser.onPC) { ...
来源: Laya_社区 发布时间: 20181208
...is, this.onChange); this.owner.addChild(hs); }); } private onChange(value: number): void { this.text.text = "滚动条的位置: value=" + value; } } 运行效果: (动图2-1) Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:27:59 img{curso...
来源: Laya3.0_文档 发布时间: 20251010