| 
									
										
										
										
											2022-05-23 13:39:59 +00:00
										 |  |  |  |  | 
					
						
							|  |  |  |  | using System.Collections; | 
					
						
							|  |  |  |  | using System.Collections.Generic; | 
					
						
							|  |  |  |  | using UnityEngine; | 
					
						
							|  |  |  |  | using System.Runtime.InteropServices; | 
					
						
							|  |  |  |  | using System; | 
					
						
							|  |  |  |  | using UnityEngine.UI; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-09 14:35:49 +00:00
										 |  |  |  | public class TGUniversalFunc : MonoBehaviour { | 
					
						
							| 
									
										
										
										
											2022-05-23 13:39:59 +00:00
										 |  |  |  | 
 | 
					
						
							|  |  |  |  |     //banner | 
					
						
							|  |  |  |  |     public static Action onSetBannerListener_onAdLoaded; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     public static Action onSetBannerListener_onAdFailedToLoad; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     public static Action onSetBannerListener_onShowSuccess; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     public static Action onSetBannerListener_onClick; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     public static Action onSetBannerListener_onAdClosed; | 
					
						
							| 
									
										
										
										
											2022-09-09 14:35:49 +00:00
										 |  |  |  |      | 
					
						
							| 
									
										
										
										
											2022-05-23 13:39:59 +00:00
										 |  |  |  |     //interstitial | 
					
						
							|  |  |  |  |     public static Action onSetInterstitialListener_onAdLoaded; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     public static Action onSetInterstitialListener_onAdFailedToLoad; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     public static Action onSetInterstitialListener_onShowSuccess; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     public static Action onSetInterstitialListener_onShowFailed; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     public static Action onSetInterstitialListener_onAdClosed; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     public static Action onSetInterstitialListener_onClick; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     public static Action onSetIntersititalAdsEndPlaying; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     public static Action onSetInterstitialListener_onFailedToPlay; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     public static Action onSetInterstitialListener_onStartPlayVideo; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     public static Action onSetInterstitialListener_onEndPlaying; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     //Native | 
					
						
							|  |  |  |  |     public static Action onSetNativeListener_onAdLoaded; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     public static Action onSetNativeListener_onAdFailedToLoad; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     public static Action onSetNativeListener_onClick; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     public static Action onSetNativeListener_onShowSuccess; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     //reward | 
					
						
							|  |  |  |  |     public static Action onSetRewardListener_onRewardedVideoAdLoaded; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     public static Action onSetRewardListener_onRewardedVideoAdFailedToLoad; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     public static Action onSetRewardListener_onRewardedVideoStarted; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     public static Action<string> onSetRewardListener_onRewardedVideoAdClosed; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     public static Action onSetRewardListener_onRewardedVideoClickAd; | 
					
						
							| 
									
										
										
										
											2022-09-09 14:35:49 +00:00
										 |  |  |  |      | 
					
						
							| 
									
										
										
										
											2022-05-23 13:39:59 +00:00
										 |  |  |  |     public static Action onSetRewardListener_onRewardedVideoAdEnd; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     public static Action onSetRewardListener_onRewardedVideoAdPlayFail; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     public static Action onSetRewardListener_onRewarded; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     //splash | 
					
						
							|  |  |  |  |     public static Action onSetSplashListener_onAdLoaded; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     public static Action onSetSplashListener_onAdLoadFail; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     public static Action onSetSplashListener_onAdDidShow; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     public static Action onSetSplashListener_onAdDidClick; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     public static Action onSetSplashListener_onAdDidClose; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     //native banner | 
					
						
							|  |  |  |  |     public static Action onSetNativeBannerListener_onAdLoaded; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     public static Action onSetNativeBannerListener_onAdLoadFail; | 
					
						
							| 
									
										
										
										
											2022-05-27 16:06:04 +00:00
										 |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-09 14:35:49 +00:00
										 |  |  |  | 
 | 
					
						
							|  |  |  |  |     // User Source | 
					
						
							| 
									
										
										
										
											2022-05-27 16:06:04 +00:00
										 |  |  |  |     public static Action<string> onSetUserSourceListener_onSuccess; | 
					
						
							| 
									
										
										
										
											2022-05-23 13:39:59 +00:00
										 |  |  |  | } |