public void Close() { MonoBehaviour.Destroy(pausePopupViewWorker.gameObject); pausePopupViewWorker = null; }
public PausePopupView() { pausePopupViewWorker = MainContext.InjectionBinder.GetInstance <Services.UI.IGameUIManager>(). InstantiateLikeUIElement(Models.UI.GameUIModel.Instance.PausePopupPrefab).GetComponent <PausePopupViewWorker>(); }