public void OnPointerExit(PointerEventData eventData) { if (enableMouse == true && mouseTooltipObject.activeSelf) { mouseAnimator.Play("Out"); mouseBlur.BlurOutAnim(); } if (enableVirtualCursor == true && virtualTooltipObject.activeSelf) { virtualAnimator.Play("Out"); virtualBlur.BlurOutAnim(); } }
void Start() { bManager = gameObject.GetComponent <BlurManager>(); splashScreenAnimator = splashScreen.GetComponent <Animator>(); ssTimedAction = splashScreen.GetComponent <TimedAction>(); mainPanelsAnimator = mainPanels.GetComponent <Animator>(); homePanelAnimator = homePanel.GetComponent <Animator>(); if (enableLoginScreen == false) { if (disableSplashScreen == true) { splashScreen.SetActive(false); mainPanels.SetActive(true); mainPanelsAnimator.Play("Start"); homePanelAnimator.Play("Panel In"); backgroundAnimator.Play("Switch"); bManager.BlurInAnim(); } else { mainPanelsAnimator.Play("Invisible"); bManager.BlurOutAnim(); splashScreen.SetActive(true); } } else { splashScreen.SetActive(true); mainPanelsAnimator.Play("Invisible"); homePanelAnimator.Play("Wait"); bManager.BlurOutAnim(); } }