IEnumerator StartDemo() { _initialTime = Time.realtimeSinceStartup; _log = ""; _curIndex = _demoIndex; yield return(StartCoroutine(_demos[_demoIndex]())); if (_client != null) { _client.Dispose(); _client = null; } Next(); }
public void Dispose() { HTTPClient?.Dispose(); }