File tree 2 files changed +16
-16
lines changed
Demo/API_V2/Assets/API/OpenInterface/GameClub
2 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ IEnumerator CreateGameClubButton(float delay)
43
43
} ) ;
44
44
}
45
45
46
- // ²âÊÔ API
46
+ // 测试API
47
47
protected override void TestAPI ( string [ ] args )
48
48
{
49
49
getGameClubData ( ) ;
@@ -82,22 +82,22 @@ private void getGameClubData()
82
82
83
83
private bool _isGameClubShow = false ;
84
84
85
- // Çл»ÓÎϷȦ°´Å¥ÏÔʾ/Òþ²Ø
85
+ // 切换游戏圈按钮显示/隐藏
86
86
private void GameClubButtonSwitch ( )
87
87
{
88
- //if (_isGameClubShow)
89
- //{
90
- // // ÏÔʾÓÎϷȦ°´Å¥
91
- // _gameClubButton.Show();
92
- // GameManager.Instance.detailsController.ChangeExtraButtonText(0, "Òþ²ØÓÎϷȦ°´Å¥ ");
93
- //}
94
- //else
95
- //{
96
- // // Òþ²ØÓÎϷȦ°´Å¥
97
- // _gameClubButton.Hide();
98
- // GameManager.Instance.detailsController.ChangeExtraButtonText(0, "ÏÔʾÓÎϷȦ°´Å¥ ");
99
- //}
100
- //_isGameClubShow = !_isGameClubShow;
88
+ // if (_isGameClubShow)
89
+ // {
90
+ // // 显示游戏圈按钮
91
+ // _gameClubButton.Show();
92
+ // GameManager.Instance.detailsController.ChangeExtraButtonText(0, "隐藏游戏圈按钮 ");
93
+ // }
94
+ // else
95
+ // {
96
+ // // 隐藏游戏圈按钮
97
+ // _gameClubButton.Hide();
98
+ // GameManager.Instance.detailsController.ChangeExtraButtonText(0, "显示游戏圈按钮 ");
99
+ // }
100
+ // _isGameClubShow = !_isGameClubShow;
101
101
}
102
102
103
103
private void GameClubButtonDestroy ( )
Original file line number Diff line number Diff line change 30
30
31
31
## Unity InstantGame版本获取
32
32
33
- 中国特供版[ 下载地址] ( https://unity.cn/instantgame/docs/WechatMinigame/InstallUnity )
33
+ 中国特供版[ 下载地址] ( https://unity.cn/instantgame/docs/WechatMinigame/InstallUnityWithTuanjieBackport/ )
34
34
35
35
36
36
## QA
You can’t perform that action at this time.
0 commit comments