Skip to content

Commit

Permalink
feat: Shorten ads manager
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Jul 19, 2024
1 parent 304e378 commit 3338f7b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#if (UNITY_ANDRIOD || UNITY_IOS || UNITY_EDITOR) && UNITY_ADS
/**
* $File: JCS_AdvertisementManager.cs $
* $File: JCS_AdsManager.cs $
* $Date: 2017-04-28 21:48:08 $
* $Revision: $
* $Creator: Jen-Chieh Shen $
Expand All @@ -30,7 +30,7 @@ namespace JCSUnity
/// Technologies.
///
/// </summary>
public class JCS_AdvertisementManager : JCS_Manager<JCS_AdvertisementManager>
public class JCS_AdsManager : JCS_Manager<JCS_AdsManager>
, IUnityAdsListener
{
public delegate void AdsDidErrorCallback(string message);
Expand All @@ -40,7 +40,7 @@ public class JCS_AdvertisementManager : JCS_Manager<JCS_AdvertisementManager>

/* Variables */

[Separator("Initialize Variables (JCS_AdvertisementManager)")]
[Separator("Initialize Variables (JCS_AdsManager)")]

#if (UNITY_ANDROID)
[Tooltip("Andriod game id provided by Unity Server window.")]
Expand Down
2 changes: 1 addition & 1 deletion Assets/JCSUnity/Scripts/UI/Button/JCS_RewardAdsButton.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public override void OnClick()
}

// start reward video.
JCS_AdvertisementManager.instance.StartDelayRewardVideo(
JCS_AdsManager.instance.StartDelayRewardVideo(
mDelayTime,
mRewardCallback);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# JCS_AdvertisementManager
# JCS_AdsManager

Handle Advertisment provide by Unity Technologies company.

Expand Down

0 comments on commit 3338f7b

Please sign in to comment.