Exemple #1
0
        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);
            }
        }
Exemple #2
0
 void Start()
 {
     bManager = gameObject.GetComponent <BlurManager>();
 }