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

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

1. 组件装饰器说明 · LayaAir3.0文档 · LAYABOX [ 100%]

...本类型 "string" 也可以用String来标记该类型 布尔值类型 "boolean" 也可以用Boolean来标记该类型 整数类型 "int" 等价于 { type: Number, fractionDigits: 0 } 正整数类型 "uint" 等价于 { type: Number, fractionDigits: 0 , min: 0 } 多行字符串文本类型 "text" ...

来源: Laya3.0_文档 发布时间: 20240809

2. 资源加载 · LayaAir3.0文档 · LAYABOX [ 89%]

...载。 group?: string; //分组,方便对资源进行管理。 cache?: boolean; //是否缓存 noRetry?: boolean; //是否重新尝试加载 silent?: boolean; //是否提示加载失败 useWorkerLoader?: boolean; //(default = false)是否使用worker加载(只针对IMAGE类型和ATLAS类型,...

来源: Laya3.0_文档 发布时间: 20230728

3. 实体组件系统 · LayaAir3.0文档 · LAYABOX [ 89%]

...本类型 "string" 也可以用String来标记该类型 布尔值类型 "boolean" 也可以用Boolean来标记该类型 整数类型 "int" 等价于 { type: Number, fractionDigits: 0 } 正整数类型 "uint" 等价于 { type: Number, fractionDigits: 0 , min: 0 } 多行字符串文本类型 "text" ...

来源: Laya3.0_文档 发布时间: 20240528

4. 网络通信 · LayaAir3.0文档 · LAYABOX [ 64%]

...upload 上添加一个事件监听来跟踪上传过程。 withCredentials boolean 表明在进行跨站(cross-site)的访问控制(Access-Control)请求时,是否使用认证信息(例如cookie或授权的header)。 默认为 false timeout number 请求超时时间 2,方法 abort() 如果请求...

来源: Laya3.0_文档 发布时间: 20230719

5. 插件开发说明 · LayaAir3.0文档 · LAYABOX [ 47%]

...器默认的文字颜色 */ textColor: gui.Color; createButton(autoSize?: boolean): gui.Button; createIconButton(flat?: boolean): gui.Button; createCheckbox(autoSize?: boolean): gui.Button; createIconCheckbox(flat?: boolean): gui.Button; createRadio(): gui.Button; createComboBox(): gui.ComboBox; cre...

来源: Laya3.0_文档 发布时间: 20240918

6. 事件管理 · LayaAir3.0文档 · LAYABOX [ 47%]

... 对象。 */ off(type: string, caller: any, listener: Function, onceOnly: boolean = false) 用于从事件分发器对象中删除侦听器: onDestroy(): void { //删除ui按钮的侦听 this.uiBtn.off(Laya.Event.CLICK, this); } 当这个场景删除销毁时,最好删除按钮的事件侦听...

来源: Laya3.0_文档 发布时间: 20230729