public static void StopEditorCoroutine(IEnumerator iterator) { EditorCoroutine ec = Find(iterator); if (ec != null) { ec.End(); } else if (_buffer != null && _buffer.Count != 0 && _buffer.Contains(iterator)) { _buffer.Remove(iterator); } }