Skip to content

Commit

Permalink
Fixed encoding format for API demo
Browse files Browse the repository at this point in the history
  • Loading branch information
kstjxy committed Jul 24, 2024
1 parent 1a5c10f commit 3f0ba8d
Showing 1 changed file with 15 additions and 15 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

0 comments on commit 3f0ba8d

Please sign in to comment.