void IUsersAroundListHUDListView.SetVisibility(bool visible) { if (visible) { if (!gameObject.activeSelf) { gameObject.SetActive(true); } showHideAnimator.Show(); } else { showHideAnimator.Hide(); contextMenu.Hide(); confirmationDialog.Hide(); } }
protected virtual void OnDisable() { confirmationDialog.Hide(); contextMenuPanel.Hide(); }
public void HideContextMenuProperly() { contextMenu.Hide(); Assert.IsFalse(contextMenu.gameObject.activeSelf, "The context menu should not be visible."); }