public UnitySourceFileUpdatersResultHandler() : base(captureSynchronizationContext: true) { ConstentAPI = new UnityScriptUpdaterConsentAPI(); if (!InternalEditorUtility.CurrentThreadIsMainThread()) { throw new Exception($"{nameof(UnitySourceFileUpdatersResultHandler)} can only be created on the main thread"); } }
public UnitySourceFileUpdatersResultHandler() { ConstentAPI = new UnityScriptUpdaterConsentAPI(); }