Skip to content

Commit d6efbfe

Browse files
committed
完善demo
1 parent c64a2b5 commit d6efbfe

File tree

38 files changed

+799
-330
lines changed

38 files changed

+799
-330
lines changed

Demo/API_V2/Assets/API/Audio/AudioManager.cs.meta

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Demo/API_V2/Assets/API/Base/Open/OpenSO.asset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ MonoBehaviour:
1717
entryAPI: 'openSystemBluetoothSetting
1818
1919
openAppAuthorizeSetting'
20-
entryDescription:
20+
entryDescription: "\u82E5\u65E0\u6CD5\u6253\u5F00\uFF0C\u5219\u9700\u8981\u53BBmp\u7AEF\u914D\u7F6E\u9690\u79C1\u8BBE\u7F6E\u6216\u67E5\u770B\u62A5\u9519\u4FE1\u606F"
2121
optionList: []
2222
initialButtonText: "\u84DD\u7259"
2323
extraButtonList:

Demo/API_V2/Assets/API/Chat/ChatManager/ChatManager.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
public class ChatManager : Details
66
{
7-
private static WXChat WxChat = null;
7+
// private static WXChat WxChat = null;
88

99
private void Start()
1010
{
@@ -33,10 +33,12 @@ private void CreateChat()
3333
}
3434

3535
WxChat = WX.CreateMiniGameChat();
36+
Debug.Log("WxChat : " + WxChat);
3637

3738
if (WxChat == null)
3839
{
3940
// 创建失败
41+
Debug.Log("WXchat is null");
4042
return;
4143
}
4244

Demo/API_V2/Assets/API/DataStorage/Storage/StorageSO.asset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ MonoBehaviour:
1515
entryScriptTypeName: Storage
1616
entryName: "\u6570\u636E\u7F13\u5B58"
1717
entryAPI: "\u6570\u636E\u7F13\u5B58\u76F8\u5173API"
18-
entryDescription:
18+
entryDescription: "backgroundFetch \u4F7F\u7528\u524D\u8BF7\u67E5\u770B\u4EE5\u4E0B\u6587\u6863\uFF1A\nhttps://developers.weixin.qq.com/minigame/dev/guide/base-ability/background-fetch.html"
1919
optionList: []
2020
initialButtonText: "\u6570\u636E\u7F13\u5B58"
2121
extraButtonList:

Demo/API_V2/Assets/API/Download/Download/Download.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@ protected override void TestAPI(string[] args)
3030
// 填入具体的url和其它参数
3131
_downloadTask = WX.DownloadFile(new DownloadFileOption
3232
{
33-
url = "xxxx",
33+
url = "https://res.wx.qq.com/wxdoc/dist/assets/img/demo.ef5c5bef.jpg",
3434
success = (res) => {
35-
Debug.Log(JsonMapper.ToJson(res));
35+
// Debug.Log(JsonMapper.ToJson(res));
36+
3637
},
3738
fail = (res) => {
3839
Debug.Log("fail: " + res.errMsg);

Demo/API_V2/Assets/API/Facility/BLE/BLESO.asset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ MonoBehaviour:
1515
entryScriptTypeName: BLE
1616
entryName: "\u84DD\u7259-\u4F4E\u529F\u8017\u4E2D\u5FC3\u8BBE\u5907"
1717
entryAPI: "\u84DD\u7259-\u4F4E\u529F\u8017\u4E2D\u5FC3\u8BBE\u5907\u76F8\u5173api"
18-
entryDescription:
18+
entryDescription: "\u84DD\u7259\u76F8\u5173\u529F\u80FD\u4F7F\u7528\u9700\u914D\u7F6E\u6B63\u786E\u53C2\u6570\u548C\u914D\u7F6E\u9690\u79C1\u534F\u8BAE"
1919
optionList: []
2020
initialButtonText: "\u5F00\u59CB\u8FDE\u63A5"
2121
extraButtonList:

Demo/API_V2/Assets/API/Facility/BLEPeripheral/BLEPeripheralSO.asset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ MonoBehaviour:
1515
entryScriptTypeName: BLEPeripheral
1616
entryName: "\u84DD\u7259-\u4F4E\u529F\u8017\u5916\u56F4\u8BBE\u5907"
1717
entryAPI: "\u84DD\u7259-\u4F4E\u529F\u8017\u5916\u56F4\u8BBE\u5907api"
18-
entryDescription:
18+
entryDescription: "\u84DD\u7259\u76F8\u5173\u529F\u80FD\u4F7F\u7528\u9700\u914D\u7F6E\u6B63\u786E\u53C2\u6570\u548C\u914D\u7F6E\u9690\u79C1\u534F\u8BAE"
1919
optionList: []
2020
initialButtonText: "\u6DFB\u52A0\u670D\u52A1"
2121
extraButtonList:

Demo/API_V2/Assets/API/Facility/Beacon/BeaconSO.asset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ MonoBehaviour:
1515
entryScriptTypeName: Beacon
1616
entryName: "\u84DD\u7259-\u4FE1\u6807"
1717
entryAPI: "\u84DD\u7259-\u4FE1\u6807\u76F8\u5173API"
18-
entryDescription: "\u9700\u8981\u66F4\u6539uuids\u624D\u80FD\u76D1\u6D4B\u5230\u84DD\u7259-\u4FE1\u6807"
18+
entryDescription: "\u84DD\u7259\u76F8\u5173\u529F\u80FD\u4F7F\u7528\u9700\u914D\u7F6E\u6B63\u786E\u53C2\u6570\u548C\u914D\u7F6E\u9690\u79C1\u534F\u8BAE"
1919
optionList: []
2020
initialButtonText: "\u5F00\u59CB\u641C\u7D22"
2121
extraButtonList:

Demo/API_V2/Assets/API/Facility/BluetoothDevice/BluetoothDeviceSO.asset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ MonoBehaviour:
1515
entryScriptTypeName: BluetoothDevice
1616
entryName: "\u84DD\u7259-\u901A\u7528"
1717
entryAPI: "\u84DD\u7259-\u901A\u7528\u76F8\u5173api"
18-
entryDescription:
18+
entryDescription: "\u84DD\u7259\u76F8\u5173\u529F\u80FD\u4F7F\u7528\u9700\u914D\u7F6E\u6B63\u786E\u53C2\u6570\u548C\u914D\u7F6E\u9690\u79C1\u534F\u8BAE"
1919
optionList: []
2020
initialButtonText: "\u521D\u59CB\u5316\u84DD\u7259\u6A21\u5757"
2121
extraButtonList:

Demo/API_V2/Assets/API/Facility/Listen/ListenSO.asset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ MonoBehaviour:
1515
entryScriptTypeName: Listen
1616
entryName: "\u8BBE\u5907\u76D1\u542C"
1717
entryAPI: "\u52A0\u901F\u8BA1\uFF0C\u7F57\u76D8\uFF0C\u8BBE\u5907\u65B9\u5411\uFF0C\u8F6C\u5C4F\u548C\u9640\u87BA\u4EEA\u76F8\u5173api"
18-
entryDescription:
18+
entryDescription: "\u82E5api\u4E0D\u53EF\u7528\uFF0C\u53EF\u80FD\u9700\u914D\u7F6E\u76F8\u5173\u7684\u9690\u79C1\u534F\u8BAE"
1919
optionList: []
2020
initialButtonText: "\u5F00\u59CB\u76D1\u542C\u52A0\u901F\u5EA6"
2121
extraButtonList:

0 commit comments

Comments
 (0)