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

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

11. 分享:Laya开发TS项目使用pomelo客户端SDK(pomelo-jsclient-websocket) [ 51%]

...,API也就几个函数,自行扩展另说,拿我自己的先抛个砖declare class PomeloClient { init(params:any, cb?:Function); request(route:string, msg?:any, cb?:Function); notify(route:string, params:any); on(event:string, cb:Function); off(event:string, cb:Function); disconnect(); } 我...

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

12. 精灵 · LayaAir3.0文档 · LAYABOX [ 47%]

...perty } = Laya; @regClass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Sprite }) public sprite1: Laya.Sprite; @property({ type: Laya.Sprite }) public sprite2: Laya.Sprite; constructor() { super(); } /** * 组件被激活后执行,此时所...

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

13. 抖音小游戏 · LayaAir3.0文档 · LAYABOX [ 47%]

...property } = Laya; @regClass() export class Script extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ o...

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

14. 场景管理 · LayaAir3.0文档 · LAYABOX [ 39%]

...perty } = Laya; @regClass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Prefab }) private loadingScenePrefab: Laya.Prefab; private loadingScene: Laya.Node; constructor() { super(); } /** * 第一次执行update之前执行,只会执行一次...

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

15. vivo小游戏 · LayaAir3.0文档 · LAYABOX [ 36%]

...property } = Laya; @regClass() export class Script extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ o...

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

16. TS项目中怎么使用promise [ 35%]

...eLike<T>): Promise<T>;     resolve(): Promise<void>; } declare var Promise: PromiseConstructor; 2018-07-17 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 186*****643 相关问题 LayaAir3D Un...

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

17. 微信小游戏 · LayaAir3.0文档 · LAYABOX [ 34%]

...property } = Laya; @regClass() export class Script extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ o...

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

18. 通用发布 · LayaAir3.0文档 · LAYABOX [ 21%]

...property } = Laya; @regClass() export class Script extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ o...

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