Skip to content

Commit e2a8b72

Browse files
authored
Merge pull request #815 from kstjxy/main
修复系统按钮DEMO中按键错乱的问题
2 parents 94aa7c2 + 76758da commit e2a8b72

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Demo/API_V2/Assets/API/OpenInterface/SystemButton/SystemButton.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ IEnumerator CreateFeedbackButton(float delay)
4747
yield return new WaitForSeconds(delay);
4848

4949
Vector2 size = GameManager.Instance.detailsController.GetInitialButtonSize();
50-
Vector2 position = GameManager.Instance.detailsController.GetButtonPosition(1);
50+
Vector2 position = GameManager.Instance.detailsController.GetButtonPosition(0);
5151
var systemInfo = WX.GetSystemInfoSync();
5252
_feedbackButton = WX.CreateFeedbackButton(new CreateOpenSettingButtonOption()
5353
{

Demo/API_V2/Assets/WX-WASM-SDK-V2/Editor/MiniGameConfig.asset

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ MonoBehaviour:
1414
m_EditorClassIdentifier:
1515
ProjectConf:
1616
projectName: GameClubDemo
17-
Appid: wxf616b60467bcfcaf
17+
Appid: wxb7d4485dbc1233ca
1818
CDN:
1919
assetLoadType: 1
2020
compressDataPackage: 0
2121
VideoUrl:
22-
DST: C:/Users/xiaoyuejin/Desktop/gametest
22+
DST: C:/Users/xiaoyuejin/Desktop/finaltest
2323
StreamCDN:
2424
bundleHashLength: 32
2525
bundlePathIdentifier: StreamingAssets;

0 commit comments

Comments
 (0)