private void Awake() { if (CurlLog.Assert(instance == null, "Only one CurlMultiUpdater instance is allowed")) { instance = this; } }
private async void OnDestroy() { if (multiThread) { await Shutdown(); } started = false; instance = null; }
private void Awake() { CurlLog.Assert(instance == null, "Only one CurlMultiUpdater instance is allowed"); if (instance == null) { instance = this; } defaultMulti = new CurlMulti(); }