void CallCheckOnComplete(CheckComplete onComplete, ByteFileInfoList pObj) { try { string error = checkLoader != null ? checkLoader.Error : null; ReleaseCheckLoader(); ReTryCheckCount = 0; onComplete?.Invoke(pObj, error); } catch (System.Exception erro) { Debug.LogError("CheckUpdate->" + erro.ToString()); } }
private static void OnCheckComplete() { CheckComplete?.Invoke(null, EventArgs.Empty); }