@@ -15,7 +15,7 @@ public class MaxBannerAdUnit : AdUnit
1515
1616 public override void Init ( )
1717 {
18- #if VIRTUESKY_ADS && VIRTUESKY_MAX
18+ #if VIRTUESKY_ADS && VIRTUESKY_APPLOVIN
1919 if ( AdStatic . IsRemoveAd || string . IsNullOrEmpty ( Id ) ) return ;
2020#if VIRTUESKY_TRACKING
2121 paidedCallback = VirtueSky . Tracking . AppTracking . TrackRevenue ;
@@ -35,7 +35,7 @@ public override void Init()
3535
3636 public override void Load ( )
3737 {
38- #if VIRTUESKY_ADS && VIRTUESKY_MAX
38+ #if VIRTUESKY_ADS && VIRTUESKY_APPLOVIN
3939 if ( AdStatic . IsRemoveAd || string . IsNullOrEmpty ( Id ) ) return ;
4040 if ( _isBannerDestroyed )
4141 {
@@ -67,7 +67,7 @@ public override bool IsReady()
6767
6868 protected override void ShowImpl ( )
6969 {
70- #if VIRTUESKY_ADS && VIRTUESKY_MAX
70+ #if VIRTUESKY_ADS && VIRTUESKY_APPLOVIN
7171 _isBannerShowing = true ;
7272 AdStatic . waitAppOpenClosedAction = OnWaitAppOpenClosed ;
7373 AdStatic . waitAppOpenDisplayedAction = OnWaitAppOpenDisplayed ;
@@ -78,7 +78,7 @@ protected override void ShowImpl()
7878
7979 public override void Destroy ( )
8080 {
81- #if VIRTUESKY_ADS && VIRTUESKY_MAX
81+ #if VIRTUESKY_ADS && VIRTUESKY_APPLOVIN
8282 if ( string . IsNullOrEmpty ( Id ) ) return ;
8383 _isBannerShowing = false ;
8484 _isBannerDestroyed = true ;
@@ -91,7 +91,7 @@ public override void Destroy()
9191 public override void HideBanner ( )
9292 {
9393 base . HideBanner ( ) ;
94- #if VIRTUESKY_ADS && VIRTUESKY_MAX
94+ #if VIRTUESKY_ADS && VIRTUESKY_APPLOVIN
9595 _isBannerShowing = false ;
9696 if ( string . IsNullOrEmpty ( Id ) ) return ;
9797 MaxSdk . HideBanner ( Id ) ;
@@ -100,7 +100,7 @@ public override void HideBanner()
100100
101101 #region Fun Callback
102102
103- #if VIRTUESKY_ADS && VIRTUESKY_MAX
103+ #if VIRTUESKY_ADS && VIRTUESKY_APPLOVIN
104104 public MaxSdkBase . BannerPosition ConvertPosition ( )
105105 {
106106 switch ( position )
0 commit comments