diff --git a/Assets/Memo.txt b/Assets/Memo.txt index 49e4094..70e3cb6 100644 --- a/Assets/Memo.txt +++ b/Assets/Memo.txt @@ -31,17 +31,13 @@ 실제 라이브 시 게등위 관련 주석 처리 필요 //////////////////////////////////////////////////////////////////////////////////////////////////// -앨범 열리면 현재 레벨(판돈)도 같이 올라가게 -팝업 배경 변경 - 내 돈이 - 가 됨 +구글 및 원스토어 이미지 분기 처리? +구글 및 원스토어 아이콘 분기 처리? -흔들기? 총통? -IndexOutOfRangeException: Index was outside the bounds of the array. -ShakePopup.SetData (CodeJay.Enum.ECardType[] cardTypes, System.Boolean fourCard) (at Assets/Scripts/UI/Popup/ShakePopup.cs:25) -ShakeSelectPopup_AI+d__4.MoveNext () (at Assets/Scripts/UI/Popup/ShakeSelectPopup_AI.cs:32) -UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <435b7303fa1046c7aefb885a0b7d525b>:0) -신규 이펙트 적용 (계속) -구글 및 원스토어 이미지 분기 처리 -구글 및 원스토어 아이콘 분기 처리 \ No newline at end of file + +고스톱 비용 +기장료 110,000원 +인증서 110,000원 +게등위 480,000원 \ No newline at end of file diff --git a/Assets/Scripts/SingletonManagers/Managers/ADSManager.cs b/Assets/Scripts/SingletonManagers/Managers/ADSManager.cs index 8b061c0..a38a13c 100644 --- a/Assets/Scripts/SingletonManagers/Managers/ADSManager.cs +++ b/Assets/Scripts/SingletonManagers/Managers/ADSManager.cs @@ -581,10 +581,10 @@ public class ADSManager : MonoBehaviour ad = null; } - GoogleMobileAds.Api.AdSize adaptiveSize = GoogleMobileAds.Api.AdSize.GetPortraitAnchoredAdaptiveBannerAdSizeWithWidth(GoogleMobileAds.Api.AdSize.FullWidth); + AdSize adaptiveSize = AdSize.GetPortraitAnchoredAdaptiveBannerAdSizeWithWidth(AdSize.FullWidth); ad = new BannerView(adUnitId, adaptiveSize, GoogleMobileAds.Api.AdPosition.Top); - + // Register for ad events. ad.OnBannerAdLoaded += OnBannerAdLoaded; ad.OnBannerAdLoadFailed += OnBannerAdLoadFailed; @@ -627,6 +627,21 @@ public class ADSManager : MonoBehaviour { Debug.Log("Banner view loaded an ad with response : " + ad.GetResponseInfo()); adAvailable = true; + + // 실제 로드된 배너의 픽셀 크기 + float width = ad.GetWidthInPixels(); + float height = ad.GetHeightInPixels(); + + Debug.Log($"Banner loaded: {width} x {height}"); + + // Unity UI 좌표계로 변환 (CanvasScaler에 따라 다름) + //float heightInUnits = (float)height / Screen.height * CanvasRectTransform.rect.height; + + // 예: 상단 UI 패널을 배너 높이만큼 내리기 + //topPanel.anchoredPosition = new Vector2( + // topPanel.anchoredPosition.x, + // topPanel.anchoredPosition.y - heightInUnits + //); } private void OnBannerAdLoadFailed(LoadAdError error) diff --git a/Assets/UI/UIAtlas.spriteatlas b/Assets/UI/UIAtlas.spriteatlas index 1b34e48..35e10c6 100644 --- a/Assets/UI/UIAtlas.spriteatlas +++ b/Assets/UI/UIAtlas.spriteatlas @@ -55,6 +55,7 @@ SpriteAtlas: - efe97e3094df3f942922868082395ca2: 21300000 - f29f0c40256a7c648a33f6144d49b5f2: 21300000 - d6d39960a7cb9a347ae8e504644184f4: 21300000 + - c784b790d3342a344b381b1aae003d99: 21300000 - 8388c990b53b08c41b9911ee6e007e62: 21300000 - ee933fb03eb4e414b9ac5e0e8f715803: 21300000 - 9a728be0368979641bc27e5cdc038633: 21300000 @@ -211,6 +212,7 @@ SpriteAtlas: - {fileID: 21300000, guid: efe97e3094df3f942922868082395ca2, type: 3} - {fileID: 21300000, guid: f29f0c40256a7c648a33f6144d49b5f2, type: 3} - {fileID: 21300000, guid: d6d39960a7cb9a347ae8e504644184f4, type: 3} + - {fileID: 21300000, guid: c784b790d3342a344b381b1aae003d99, type: 3} - {fileID: 21300000, guid: 8388c990b53b08c41b9911ee6e007e62, type: 3} - {fileID: 21300000, guid: ee933fb03eb4e414b9ac5e0e8f715803, type: 3} - {fileID: 21300000, guid: 9a728be0368979641bc27e5cdc038633, type: 3} @@ -366,6 +368,7 @@ SpriteAtlas: - submission card - black label_play - level icon + - bbuckeat image_bbuckeat - window 3 - chodan txt_chodan - btn long