コード例 #1
0
        private IEnumerator PrepareError()
        {
            fireError = false;
            yield return(new WaitForSeconds(1f));

            ErrorCode        randomError = (ErrorCode)UnityEngine.Random.Range((int)ErrorCode.Unknown, (int)ErrorCode.ValidationFailure);
            AdErrorEventArgs arg         = new AdErrorEventArgs(randomError, randomError.ToString());

            Fire(AdCallback.Error, arg);
        }
コード例 #2
0
ファイル: Advertising.cs プロジェクト: yazici/unityplugins
 private static void InterstitialAd_ErrorOccurred(object sender, AdErrorEventArgs e)
 {
     DebugLog.Log(LogLevel.Info, "ErrorOccurred " + e.ErrorMessage);
     isShowRequested = false;
 }
コード例 #3
0
        private IEnumerator PrepareError()
        {
            fireError = false;
            yield return new WaitForSeconds(1f);

            ErrorCode randomError = (ErrorCode)UnityEngine.Random.Range( (int)ErrorCode.Unknown, (int) ErrorCode.ValidationFailure);
            AdErrorEventArgs arg = new AdErrorEventArgs (randomError, randomError.ToString());
            Fire(AdCallback.Error, arg );
        }
コード例 #4
0
 private static void InterstitialAd_ErrorOccurred(object sender, AdErrorEventArgs e)
 {
     DebugLog.Log(LogLevel.Info, "ErrorOccurred " + e.ErrorMessage);
     isShowRequested = false;
 }