광고 설정

This commit is contained in:
Ino 2025-09-16 12:43:44 +09:00
parent 3f8f50a0e5
commit bed4f98f23
7 changed files with 28 additions and 26 deletions

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 22eb99a4a306de2499c7fee8c1fecbb8 guid: f14cb87245d513d4d84734780398a51d
labels: labels:
- gvh - gvh
- gvh_version-9.5.0 - gvh_version-9.5.0

View File

@ -26,6 +26,8 @@
9. 바닥 카드가 없고 내가 점수를 낸 상태면 스톱으로 내 승리 9. 바닥 카드가 없고 내가 점수를 낸 상태면 스톱으로 내 승리
ibk 앱에서 휴대폰 본인 인증 시 휴대폰 번호 변경하는 방법
//////////////// ////////////////
실제 라이브 시 게등위 관련 주석 처리 필요 실제 라이브 시 게등위 관련 주석 처리 필요

View File

@ -708,7 +708,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: df3b4b8deb79a3c49b475a96caa7e28a, type: 3} m_Script: {fileID: 11500000, guid: df3b4b8deb79a3c49b475a96caa7e28a, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
storeURL: https://play.google.com/store/apps/details?id=com.SkaGames.GSProject storeURL: https://onesto.re/0001002187
--- !u!1 &8233679372601912116 --- !u!1 &8233679372601912116
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -1 +1 @@
5 7

View File

@ -52,26 +52,26 @@ public class ADSManager : MonoBehaviour
adDictionary.Clear(); adDictionary.Clear();
// 라이브 // 라이브
//if (GameManager.DB.IsRemoveADS == false)
//{
// adDictionary.Add("Game_Interstitial", new InterstitialAd("ca-app-pub-6390804219581974/4957790852", "Game_Interstitial"));
// adDictionary.Add("Top_Banner", new BannerAd("ca-app-pub-6390804219581974/6518284533", "Top_Banner"));
//}
//adDictionary.Add("Result_Reward", new RewardAd("ca-app-pub-6390804219581974/3644709187", "Result_Reward"));
//adDictionary.Add("Heart_Reward", new RewardAd("ca-app-pub-6390804219581974/3947961516", "Heart_Reward"));
//adDictionary.Add("Gold_Reward", new RewardAd("ca-app-pub-6390804219581974/2331627517", "Gold_Reward"));
// 게등위 테스트용
if (GameManager.DB.IsRemoveADS == false) if (GameManager.DB.IsRemoveADS == false)
{ {
adDictionary.Add("Game_Interstitial", new InterstitialAd("ca-app-pub-3940256099942544/1033173712", "Game_Interstitial")); adDictionary.Add("Game_Interstitial", new InterstitialAd("ca-app-pub-6390804219581974/4957790852", "Game_Interstitial"));
adDictionary.Add("Top_Banner", new BannerAd("ca-app-pub-3940256099942544/9214589741", "Top_Banner")); adDictionary.Add("Top_Banner", new BannerAd("ca-app-pub-6390804219581974/6518284533", "Top_Banner"));
} }
adDictionary.Add("Result_Reward", new RewardAd("ca-app-pub-3940256099942544/5224354917", "Result_Reward")); adDictionary.Add("Result_Reward", new RewardAd("ca-app-pub-6390804219581974/3644709187", "Result_Reward"));
adDictionary.Add("Heart_Reward", new RewardAd("ca-app-pub-3940256099942544/5224354917", "Heart_Reward")); adDictionary.Add("Heart_Reward", new RewardAd("ca-app-pub-6390804219581974/3947961516", "Heart_Reward"));
adDictionary.Add("Gold_Reward", new RewardAd("ca-app-pub-3940256099942544/5224354917", "Gold_Reward")); adDictionary.Add("Gold_Reward", new RewardAd("ca-app-pub-6390804219581974/2331627517", "Gold_Reward"));
//// 게등위 테스트용
//if (GameManager.DB.IsRemoveADS == false)
//{
// adDictionary.Add("Game_Interstitial", new InterstitialAd("ca-app-pub-3940256099942544/1033173712", "Game_Interstitial"));
// adDictionary.Add("Top_Banner", new BannerAd("ca-app-pub-3940256099942544/9214589741", "Top_Banner"));
//}
//adDictionary.Add("Result_Reward", new RewardAd("ca-app-pub-3940256099942544/5224354917", "Result_Reward"));
//adDictionary.Add("Heart_Reward", new RewardAd("ca-app-pub-3940256099942544/5224354917", "Heart_Reward"));
//adDictionary.Add("Gold_Reward", new RewardAd("ca-app-pub-3940256099942544/5224354917", "Gold_Reward"));
foreach (var ad in adDictionary.Values) foreach (var ad in adDictionary.Values)

View File

@ -85,10 +85,10 @@ public class IAPManager : MonoBehaviour, IDetailedStoreListener
/* 구매하는 함수 */ /* 구매하는 함수 */
public void Purchase(string productId) public void Purchase(string productId)
{ {
// 게등위 테스트용 //// 게등위 테스트용
AddProductItem(productId); //AddProductItem(productId);
OnProcessPurchase?.Invoke(productId); //OnProcessPurchase?.Invoke(productId);
return; //return;
#if UNITY_EDITOR #if UNITY_EDITOR
BuyItem(productId); BuyItem(productId);
@ -199,9 +199,9 @@ public class IAPManager : MonoBehaviour, IDetailedStoreListener
int Get_Price(string id) int Get_Price(string id)
{ {
// 게등위 테스트용 //// 게등위 테스트용
var data = StorePanel.list_item.Find(f=>f.productID == id); //var data = StorePanel.list_item.Find(f=>f.productID == id);
return data.price; //return data.price;
#if UNITY_EDITOR #if UNITY_EDITOR
return (int)storeController.products.WithID(id).metadata.localizedPrice; return (int)storeController.products.WithID(id).metadata.localizedPrice;