private void HidePanel() { if (isVisible) { CheckShowHideController(); showHideController.ClearTrigger(animationTransitions.showTrigger); showHideController.Hide(animationTransitions.hideTrigger, HideControls); } else { HideControls(); } }
public void Close() { CancelInvoke(); if (!m_isOpen) { return; } m_isOpen = false; onClose.Invoke(); m_showHideController.Hide(hideAnimationTrigger, OnHidden); // Deselect ours: if (selectables.Contains(UnityEngine.EventSystems.EventSystem.current.currentSelectedGameObject)) { UnityEngine.EventSystems.EventSystem.current.SetSelectedGameObject(null); } }
public void OnHidBark(TextMeshProBarkUI barkUI) { if (barkUI == null) { return; } ShowControls(); CheckShowHideController(); showHideController.ClearTrigger(animationTransitions.showTrigger); if (isVisible) { showHideController.Hide(animationTransitions.hideTrigger, HideControls); } else { HideControls(); } }
private void HidePanel() { CheckShowHideController(); showHideController.Hide(animationTransitions.hideTrigger, HideControls); }