/// <summary> /// エラー発生 /// </summary> /// <param name="handle">エラーハンドル</param> public void Error(IErrorHandle handle) { var message = string.Format(kDownloadErrorMessageFormat, handle.errorCode); #if UNITY_EDITOR || DEVELOPMENT_BUILD message += "\n\n[DebugInfo]\n" + handle.assetBundleNameWithVariant; #endif m_DemoDialog.Create(message, kDownloadErrorButtonTexts, onFinished: x => { switch (x) { case 1: //Retry handle.Retry(); break; case 0: //Ignore default: handle.Ignore(); break; } }); }