void Init() { var souse = AScriptableObject.Get <Values>(); DynamicPermission.GetPermission( "android.permission.READ_PHONE_STATE", "android.permission.ACCESS_COARSE_LOCATION", "android.permission.ACCESS_FINE_LOCATION", "android.permission.WRITE_EXTERNAL_STORAGE"); YLHProvider.Get().CallStatic("InitSDK", "mark", souse.appid, debug); YLHProvider.Get().CallStatic("InitReward", "mark", souse.rewardid); YLHProvider.Get().CallStatic("InitInterAd", "mark", souse.insterid); YLHProvider.log?.CallStatic("ShowLog", "mark", debug); }
internal void ShowInternal() { YLHProvider.Get().CallStatic("ShowRewardAd", "mark"); }
public bool isReady() { return(YLHProvider.Get().CallStatic <bool>("isReady", "mark")); }
internal async void LoadAd() { await Task.Delay(200); YLHProvider.Get().CallStatic("LoadRewardAd", "mark", proxy); }