using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Touka { /// /// TKG Native SDK callback, Android & IOS use the same callback interface to ensure the uniformity of the interface /// public class TKGSDKCallback { // init callback public static Action mInitCallback = null; // game pause/resume callback public static Action mGameFocusCallback = null; #region 插屏广告 /// /// interad callback /// public static Action mInterAdCallback = null; #endregion #region 激励视频广告 /// /// reward callback /// public static Action mRewardCallback = null; /// /// reward show failed /// public static Action mRewardShowFailedCallback = null; #endregion /// /// set init callback /// /// public static void SetInitCallback(Action _initCallback = null) { mInitCallback = _initCallback; } /// /// set game pause/resume callback /// /// public static void SetGameFocusCallback(Action _gameFocusAction) { mGameFocusCallback = _gameFocusAction; } } }