74 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			C#
		
	
	
	
		
		
			
		
	
	
			74 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			C#
		
	
	
	
|  | using System; | |||
|  | using UnityEngine; | |||
|  | #if !TOUKA_TEST | |||
|  | #if UNITY_ANDROID | |||
|  | public static partial class StaticStringsKey | |||
|  | { | |||
|  | #if ANDROID_CN | |||
|  |     // topon  | |||
|  |     public const string TOPON_APPID = "a60f92942d12dc"; | |||
|  |     public const string TOPON_APPKEY = "c13e4357e57d78e76e472899eb182e98"; | |||
|  |     public const string IntersUnitId = "b60f929e104ff6"; | |||
|  |     public const string RewardVideoUnitId = "b60f929c12b22e"; | |||
|  |     public const string NativeUnitId = ""; | |||
|  |     public const string OpenscreenId = ""; | |||
|  |     public const string NativeBannerUnitId = ""; | |||
|  | 
 | |||
|  |     public const string GADValue = "ca-app-pub-3916046151571724~8559386104"; | |||
|  | 
 | |||
|  | #elif ANDROID_TW | |||
|  | 
 | |||
|  |     public const string TOPON_APPID = "a607acb6913054"; | |||
|  |     public const string TOPON_APPKEY = "c13e4357e57d78e76e472899eb182e98"; | |||
|  |     public const string IntersUnitId = "40a4ef2f4431ef15"; | |||
|  |     public const string RewardVideoUnitId = "a90b2ddd81e10daa"; | |||
|  |     public const string NativeUnitId = "b608251153978a"; | |||
|  |     public const string OpenscreenId = "b6082513e30bd0"; | |||
|  |     public const string NativeBannerUnitId = "b6083a3a129482"; | |||
|  | 
 | |||
|  |     public const string GADValue = "ca-app-pub-3916046151571724~8559386104"; | |||
|  | 
 | |||
|  | #elif ANDROID_GP | |||
|  | 
 | |||
|  |     public const string TOPON_APPID = ""; | |||
|  |     public const string TOPON_APPKEY = ""; | |||
|  |     public const string IntersUnitId = "69977da412955e65"; | |||
|  |     public const string RewardVideoUnitId = "21d36744d68e9f04"; | |||
|  |     public const string NativeUnitId = ""; | |||
|  |     public const string OpenscreenId = ""; | |||
|  |     public const string NativeBannerUnitId = ""; | |||
|  | 
 | |||
|  |     public const string GADValue = "ca-app-pub-3916046151571724~2686131642"; | |||
|  | 
 | |||
|  | #else | |||
|  |     public const string TOPON_APPID = ""; | |||
|  |     public const string TOPON_APPKEY = ""; | |||
|  |     public const string IntersUnitId = ""; | |||
|  |     public const string RewardVideoUnitId = ""; | |||
|  |     public const string NativeUnitId = ""; | |||
|  |     public const string OpenscreenId = ""; | |||
|  |     public const string NativeBannerUnitId = ""; | |||
|  |     public const string GADValue = "ca-app-pub-3916046151571724~8559386104"; | |||
|  | #endif | |||
|  | 
 | |||
|  | 
 | |||
|  |     // touka sdk | |||
|  |     public const string TOUKA_SDK_APPID = TOPON_APPID; | |||
|  |     public const string TOUKA_SDK_APPKEY = TOPON_APPKEY; | |||
|  | 
 | |||
|  |     public const string TOUKA_SDK_BANNERID = NativeBannerUnitId; | |||
|  |     public const string TOUKA_SDK_INTERID = IntersUnitId; | |||
|  |     public const string TOUKA_SDK_REWARDID = RewardVideoUnitId; | |||
|  |     public const string TOUKA_SDK_NATIVEID = NativeUnitId; | |||
|  |     public const string TOUKA_SDK_SPLASHID = OpenscreenId; | |||
|  | 
 | |||
|  |     // 广告开关 | |||
|  |     public const bool BannerSwitch = false;     // banner开关 | |||
|  |     public const bool InterSwitch = true;      // 插屏开关 | |||
|  |     public const bool RewardSwitch = true;     // 激励视频开关 | |||
|  |     public const bool NativeSwitch = false;     // native开关 | |||
|  |     public const bool SplashSwitch = false;     // 开屏开关 | |||
|  | 
 | |||
|  | } | |||
|  | #endif | |||
|  | #endif |