Skip to content

Commit 6a736cd

Browse files
author
v_shanxia
committed
fix:去掉多余注释以及空格
1 parent 92014ed commit 6a736cd

File tree

3 files changed

+6
-14
lines changed

3 files changed

+6
-14
lines changed

Demo/API_V2/Assets/API/Ad/CustomAd/CustomAd.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@ private void SwitchAdState()
7979

8080
private Action<WXTextResponse> ShowSuccess = (res) =>
8181
{
82-
WX.ShowModal(new ShowModalOption() { content = "CustomAd Show Success:" + JsonUtility.ToJson(res) });
82+
WX.ShowModal(new ShowModalOption() { content = "CustomAd Show Success:" + JsonUtility.ToJson(res) });
8383
};
8484

8585

8686
private Action<WXTextResponse> ShowFail = (res) =>
8787
{
88-
WX.ShowModal(new ShowModalOption() { content = "CustomAd Show Fail:" + JsonUtility.ToJson(res) });
88+
WX.ShowModal(new ShowModalOption() { content = "CustomAd Show Fail:" + JsonUtility.ToJson(res) });
8989
};
9090

9191
// 销毁广告

Demo/API_V2/Assets/API/Ad/InterstitalAd/InterstitalAd.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@ private void ShowAd()
6565

6666
private Action<WXTextResponse> ShowSuccess = (res) =>
6767
{
68-
WX.ShowModal(new ShowModalOption() { content = "InterstitialAd Show Success:" + JsonUtility.ToJson(res) });
68+
WX.ShowModal(new ShowModalOption() { content = "InterstitialAd Show Success:" + JsonUtility.ToJson(res) });
6969
};
7070

7171

7272
private Action<WXTextResponse> ShowFail = (res) =>
7373
{
74-
WX.ShowModal(new ShowModalOption() { content = "InterstitialAd Show Fail:" + JsonUtility.ToJson(res) });
74+
WX.ShowModal(new ShowModalOption() { content = "InterstitialAd Show Fail:" + JsonUtility.ToJson(res) });
7575
};
7676

7777

Demo/API_V2/Assets/API/Ad/RewardedVideoAd/RewardedVideoAd.cs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,28 +64,20 @@ protected override void TestAPI(string[] args)
6464
WX.ShowToast(new ShowToastOption() { title = "已创建并加载广告" });
6565
}
6666

67-
// 展示广告
68-
// private void ShowAd()
69-
// {
70-
// _rewardedVideoAd.Show();
71-
// WX.ShowToast(new ShowToastOption() { title = "已展示广告" });
72-
// }
73-
74-
7567
private void ShowAd()
7668
{
7769
_rewardedVideoAd.Show(ShowSuccess, ShowFail);
7870
}
7971

8072
private Action<WXTextResponse> ShowSuccess = (res) =>
8173
{
82-
WX.ShowModal(new ShowModalOption() { content = "RewardedVideoAd Show Success:" + JsonUtility.ToJson(res) });
74+
WX.ShowModal(new ShowModalOption() { content = "RewardedVideoAd Show Success:" + JsonUtility.ToJson(res) });
8375
};
8476

8577

8678
private Action<WXTextResponse> ShowFail = (res) =>
8779
{
88-
WX.ShowModal(new ShowModalOption() { content = "RewardedVideoAd Show Fail:" + JsonUtility.ToJson(res) });
80+
WX.ShowModal(new ShowModalOption() { content = "RewardedVideoAd Show Fail:" + JsonUtility.ToJson(res) });
8981
};
9082

9183
// 销毁广告

0 commit comments

Comments
 (0)