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(); }
private void Start() { fader = SceneFader.shared(); }