From 76758dacec9e057b7f63509f56cb6c57e22af940 Mon Sep 17 00:00:00 2001 From: Crystal Jin Date: Mon, 22 Jul 2024 11:12:39 +0800 Subject: [PATCH] fixed systemButton demo --- .../Assets/API/OpenInterface/SystemButton/SystemButton.cs | 2 +- Demo/API_V2/Assets/WX-WASM-SDK-V2/Editor/MiniGameConfig.asset | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Demo/API_V2/Assets/API/OpenInterface/SystemButton/SystemButton.cs b/Demo/API_V2/Assets/API/OpenInterface/SystemButton/SystemButton.cs index c28646be..e3eb7db9 100644 --- a/Demo/API_V2/Assets/API/OpenInterface/SystemButton/SystemButton.cs +++ b/Demo/API_V2/Assets/API/OpenInterface/SystemButton/SystemButton.cs @@ -47,7 +47,7 @@ IEnumerator CreateFeedbackButton(float delay) yield return new WaitForSeconds(delay); Vector2 size = GameManager.Instance.detailsController.GetInitialButtonSize(); - Vector2 position = GameManager.Instance.detailsController.GetButtonPosition(1); + Vector2 position = GameManager.Instance.detailsController.GetButtonPosition(0); var systemInfo = WX.GetSystemInfoSync(); _feedbackButton = WX.CreateFeedbackButton(new CreateOpenSettingButtonOption() { diff --git a/Demo/API_V2/Assets/WX-WASM-SDK-V2/Editor/MiniGameConfig.asset b/Demo/API_V2/Assets/WX-WASM-SDK-V2/Editor/MiniGameConfig.asset index 17af02b5..d5dd4124 100644 --- a/Demo/API_V2/Assets/WX-WASM-SDK-V2/Editor/MiniGameConfig.asset +++ b/Demo/API_V2/Assets/WX-WASM-SDK-V2/Editor/MiniGameConfig.asset @@ -14,12 +14,12 @@ MonoBehaviour: m_EditorClassIdentifier: ProjectConf: projectName: GameClubDemo - Appid: wxf616b60467bcfcaf + Appid: wxb7d4485dbc1233ca CDN: assetLoadType: 1 compressDataPackage: 0 VideoUrl: - DST: C:/Users/xiaoyuejin/Desktop/gametest + DST: C:/Users/xiaoyuejin/Desktop/finaltest StreamCDN: bundleHashLength: 32 bundlePathIdentifier: StreamingAssets;