void OnUnload() { if (ab != null) { ab.Unload(false); ab = null; } error = null; bytes = null; url = null; text = null; texture = null; unloaded = true; timer.Stop(); timer = null; }
public void AddRefrence() { if (forver) { return; } refrence++; deleteTimer.Stop(); }
void UpdateLoadingUI() { #region 赋值UI进度条 progress = (int)(operation.progress * 100); #endregion if (operation.isDone) { timer.Stop(); timer = null; if (callback != null) { callback(); } } }
public void Step() { _frameTimer.Stop(); _break = true; _continueSignal.Set(); }