大约有 413 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0041 秒)
...ined in laya/utils/Byte.ts:50 创建一个 Byte 类的实例。 Parameters Default value data: any = null 用于指定初始化的元素数目,或者用于初始化的TypedArray对象、ArrayBuffer对象。如果为 null ,则预分配一定的内存空间,当可用空间不足时,优先使...
来源: Laya3.0_api 发布时间: 20231115
...剧中了? 随便弄一个窗口,都是这样,代码如下 export default class SettingDialog extends Laya.Dialog { constructor() { super(); this.loadScene('assets/scenes/dialogs/SettingDialog.scene'); } }{ "x":0, "type":"Dialog", "selectedBox":2, "selecteID":3, "searchKey":"Dialog", "props...
来源: Laya_社区 发布时间: 20200417
...ib/base/SingleBase"; import DdzFarmersAni from "./DdzFarmersAni"; export default class DdzLandlordAni extends SingleBase{ private mFactory: Laya.Templet = null; public isFinish = false; private mArmatureUsed:Array<Laya.Skeleton> = []; private mArmatureUnUsed:Array<Laya.Skeleton> = [...
来源: Laya_社区 发布时间: 20190821
...被举起 biu = 'biu',//被扔 dizziness = 'dizziness',//眩晕 } export default class RoleBase extends Laya.Script3D{ public nGrade:number = 0; public nSpeed:number = 5; public sprite:Laya.Sprite3D = null; public animator:Laya.Animator = null; public Init(){ this.sprite = this.owner as Laya...
来源: Laya_社区 发布时间: 20191026
... import Sprite = Laya.Sprite import Box = Laya.Box /** 公告栏 */ export default class Notice extends View { /** 滚动区域 */ hornBox: Box /** html对象 */ html: HTMLDivElement /** 滚动框的宽度 */ defaultX = 1110 /** 动画是否出于播放状态 */ isPlayIng:boolean = false /** 空格 ...
来源: Laya_社区 发布时间: 20180314
...Resource._addReference Defined in laya/resource/Resource.ts:203 Parameters Default value count: number = 1 Returns void _clearReference _clearReference(): void Inherited from Resource._clearReference Defined in laya/resource/Resource.ts:218 清除引用 Returns void _removeReference _removeReference...
来源: Laya3.0_api 发布时间: 20231115
...来自: /** * FUI资源加载类 * jhj * QQ:8510001 * 2019-11-25 */ export default class FguiResMgr { private static _instance: FguiResMgr; public static get instance(): FguiResMgr { if (!this._instance) this._instance = new FguiResMgr(); return this._instance; } /**加载优先级,越小越优先...
来源: Laya_社区 发布时间: 20191107
...Resource._addReference Defined in laya/resource/Resource.ts:203 Parameters Default value count: number = 1 Returns void _clearReference _clearReference(): void Inherited from Resource._clearReference Defined in laya/resource/Resource.ts:220 Returns void _removeReference _removeReference(count?: numb...
来源: Laya3.0_api 发布时间: 20231102
...Resource._addReference Defined in laya/resource/Resource.ts:203 Parameters Default value count: number = 1 Returns void _clearReference _clearReference(): void Inherited from Resource._clearReference Defined in laya/resource/Resource.ts:218 清除引用 Returns void _parse _parse(desc: string | Arra...
来源: Laya3.0_api 发布时间: 20231115
...orld按钮弹出一个对话框,对话框里面展示 Hello World!export default class HelloWorld extends Laya.Scene { constructor() { super(); HelloWorld.instance = this; } onBtnShowClick(){ var dialog = new Laya.Dialog(); dialog.width=300; dialog.height=600; //var bg = new Laya.Image('comp/img_b...
来源: Laya_社区 发布时间: 20190117