AppLovin / AppLovin-MAX-Unity-Plugin

127 stars 35 forks source link

UpdateBannerPosition does not update X position if initially created at BannerPosition.BottomCenter #428

Closed v-ramanouskaya closed 1 month ago

v-ramanouskaya commented 1 month ago

MAX Plugin Version

6.5.0

Unity Version

2022.3.34f1

Device/Platform Info

no, all devices

Current Behavior

If the banner initially created with a pivot for positioning, f.e. MaxSdk.CreateBanner(adUnitId,BannerAdUnitId,MaxSdkBase.BannerPosition.BottomCenter); following MaxSdk.UpdateBannerPosition(adUnitId, bannerXPosition, bannerYPosition); does not update Y position and always sets the banner at the left corner of the screen.

Expected Behavior

MaxSdk.UpdateBannerPosition(adUnitId, bannerXPosition, bannerYPosition); updates both x and y position correctly

How to Reproduce

Follow the steps in the description

Reproducible in the demo app?

No

Additional Info

No response