private void OnDestroy() { _bootstrapper = null; if (_view != null) { _view.Context = null; } }
private void Awake() { _bootstrapper = new LoginPageBootstrapper(); if (_view == null) { return; } var viewModel = _bootstrapper.Bootstrap().Resolve <IPageViewModel>(); _view.Context = viewModel; }