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

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

1. 学会编写d.ts声明文件(TypeScript-IDE篇(TS)-代码模式基础) [ 100%]

...定义类型 export class Demo { constructor( options: Object ); addScene( title: string, initfunc: Function ): void; restartCurrentScene(): void; } } //多级模块 declare module laya.ani.bone { class EventData { name:string; intValue:number; floatValue:number; stringValue:string; audioValue:strin...

来源: Laya2.0_文档 发布时间: 20210715

2. 对接上架字节跳动小游戏技术指南(TypeScript-小游戏适配文档-字节跳动小游戏) [ 80%]

...MiniGame && this._videoPath) { tt.shareVideo({ videoPath: this._videoPath, title: "测试分享的标题", success() { console.log("分享成功"); }, fail(e) { console.log("分享失败"); }, }); } } } ``` 至此,接入字节小游戏的API流程也介绍完了,开发者可以举一反三,再...

来源: Laya2.0_文档 发布时间: 20210715