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

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

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

...定义类型 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

62. laya微信小游戏加载外部素材失败 急急急 [ 37%]

...gress); } function onComplete(){ console.log('onComplete'); wx.showModal({ title: '提示', content: 'onComplete', }) } initLaya(); 3d_demo.zip 2018-04-26 0 0 分享 微博 QZONE 微信 OneWay 赞同来自: 你把你们game.json的 { "deviceOrientation": "portrait", "showStatusBar": "false", "networ...

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

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

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

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

64. Laya.URL.basePath加载不到网络资源 [ 25%]

....html:1 j.onmessage @ gamePage.html:1 VM1768:1 [warn]Retry to load: images/title.png console.warn @ VM1768:1 __proto._endLoad @ code.js:13304 onLoaded @ code.js:13291 (anonymous) @ code.js:13283 __proto.run @ code.js:706 __proto.event @ code.js:494 __proto.onError @ code.js:12784 MiniImage.onDownImg...

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

65. 通用发布 · LayaAir3.0文档 · LAYABOX [ 16%]

...的: 名称:项目的名称(对于Web发布来说,就是html中的title名称)。 显示名称:设置显示名称后,显示的将会是显示名称,而不是项目名称。一般都填写中文汉字,英文也可以。用于应用商店、桌面图标、弹窗等游戏入口处。 ...

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