Esempio n. 1
0
    protected virtual void StartDieFX()
    {
//		gameoverCameraObject = GameoverCameraManager.shared();
        gameoverCameraObject = GameObject.FindWithTag("GameoverManager").GetComponent <GameoverCameraManager>();
        gameoverCameraObject.GetComponent <Camera>().enabled = true;
        fader = SceneFader.shared();


        gameoverCameraObject.OnBlackoutEnded += GameoverCameraObject_OnBlackoutEnded;
        gameoverCameraObject.ShowBlackOut();
    }
Esempio n. 2
0
 private void Start()
 {
     fader = SceneFader.shared();
 }