Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
uhu committed Jul 29, 2024
2 parents 1990b38 + b1fea2e commit b1857c7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
30 changes: 15 additions & 15 deletions Demo/API_V2/Assets/API/OpenInterface/GameClub/GameClub.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ IEnumerator CreateGameClubButton(float delay)
});
}

// ²âÊÔ API
// 测试API
protected override void TestAPI(string[] args)
{
getGameClubData();
Expand Down Expand Up @@ -82,22 +82,22 @@ private void getGameClubData()

private bool _isGameClubShow = false;

// Çл»ÓÎϷȦ°´Å¥ÏÔʾ/Òþ²Ø
// 切换游戏圈按钮显示/隐藏
private void GameClubButtonSwitch()
{
//if (_isGameClubShow)
//{
// // ÏÔʾÓÎϷȦ°´Å¥
// _gameClubButton.Show();
// GameManager.Instance.detailsController.ChangeExtraButtonText(0, "Òþ²ØÓÎϷȦ°´Å¥");
//}
//else
//{
// // Òþ²ØÓÎϷȦ°´Å¥
// _gameClubButton.Hide();
// GameManager.Instance.detailsController.ChangeExtraButtonText(0, "ÏÔʾÓÎϷȦ°´Å¥");
//}
//_isGameClubShow = !_isGameClubShow;
// if (_isGameClubShow)
// {
// // 显示游戏圈按钮
// _gameClubButton.Show();
// GameManager.Instance.detailsController.ChangeExtraButtonText(0, "隐藏游戏圈按钮");
// }
// else
// {
// // 隐藏游戏圈按钮
// _gameClubButton.Hide();
// GameManager.Instance.detailsController.ChangeExtraButtonText(0, "显示游戏圈按钮");
// }
// _isGameClubShow = !_isGameClubShow;
}

private void GameClubButtonDestroy()
Expand Down
2 changes: 1 addition & 1 deletion Design/UnityVersion.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

## Unity InstantGame版本获取

中国特供版[下载地址](https://unity.cn/instantgame/docs/WechatMinigame/InstallUnity)
中国特供版[下载地址](https://unity.cn/instantgame/docs/WechatMinigame/InstallUnityWithTuanjieBackport/)


## QA
Expand Down

0 comments on commit b1857c7

Please sign in to comment.