/// <summary> /// Disposes the specified view. /// </summary> public void DisposeView(IMvcView view) { view.OnDisposeView(); recycler.ReturnView(view); }
/// <summary> /// Disposes the specified view. /// </summary> public void DisposeView(IMvcView view) { view.OnDisposeView(); GameObject.Destroy(view.ViewObject); }