void Start() { bManager = gameObject.GetComponent <BlurManager>(); if (disableSplashScreen == true) { splashScreen.SetActive(false); mainPanels.SetActive(true); mainPanelsAnimator = mainPanels.GetComponent <Animator>(); mainPanelsAnimator.Play("Main Panel Opening"); homePanelAnimator = homePanel.GetComponent <Animator>(); homePanelAnimator.Play("MP Fade-in Start"); bManager.BlurInAnim(); } else { splashScreen.SetActive(true); mainPanels.SetActive(false); } }
void Start() { bManager = gameObject.GetComponent <BlurManager>(); }