public void Complete() { if (LastProgress != 1.0f) { RenderPercent(1.0f); Stop(); } else { m_Owner.Stop(this, false); } }
public void Complete() { if (LastProgress != 1.0f) { RenderPercent(1.0f); } if (OnComplete != null) { OnComplete(this, 1.0f); } m_Owner.Stop(this, false); }