private void OnViewChanged() { var canNavigateBack = ViewSwitcher.CanNavigateBack(); CloseButton.gameObject.SetActive(!canNavigateBack); BackButton.gameObject.SetActive(canNavigateBack); }
private void OnViewChanged() { var canNavigateBack = ViewSwitcher.CanNavigateBack(); CloseButton.gameObject.SetActive(!canNavigateBack); BackButton.gameObject.SetActive(canNavigateBack); }