大约有 65 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0034 秒)
...定义类型 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
...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
...MiniGame && this._videoPath) { tt.shareVideo({ videoPath: this._videoPath, title: "测试分享的标题", success() { console.log("分享成功"); }, fail(e) { console.log("分享失败"); }, }); } } } ``` 至此,接入字节小游戏的API流程也介绍完了,开发者可以举一反三,再...
来源: Laya2.0_文档 发布时间: 20210715
....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
...的: 名称:项目的名称(对于Web发布来说,就是html中的title名称)。 显示名称:设置显示名称后,显示的将会是显示名称,而不是项目名称。一般都填写中文汉字,英文也可以。用于应用商店、桌面图标、弹窗等游戏入口处。 ...
来源: Laya3.0_文档 发布时间: 20240926