static public void StopCoroutine(EditorCoroutine pCoroutine) { if (pCoroutine != null) { pCoroutine.Stop(); } }
public void Stop() { if (playing != null) { playing.Stop(); playing = null; } }
public void Clean() { Stop(); if (decoding != null) { decoding.Stop(); decoding = null; } if (Currrent) { GameObject.DestroyImmediate(Currrent); Currrent = null; } textures.Clear(); Index = 0; if (img != null) { img.Dispose(); img = null; } }