private void CheckIfGameEnded(CheckPoint checkPoint) { if (checkPoint.IsFinalCheckpoint()) { GUIManager.Instance.DeathScreenPanel.SetObjectActive(true); GUIManager.Instance.DeathScreenPanel.GetComponent <Image>().color = Color.white; Invoke("LoadFinalCinematic", GUIManager.Instance.DeathScreenPanel.fadeTimeDuration); //TODO: decrease all fx volume progressively (master) Debug.Log("GAME FINISHED"); } }