Example #1
0
 //Call this from inside the Dead animation state
 public void SwitchToDeathCamera()
 {
     //Debug.Log("Firing SwitchToDeahtCamera");
     HUD.SetActive(false);
     fpsCamera.SetActive(false);
     deathCamera.SetActive(true);
     //Enable physics
     EnableRagdollPhysics();
     m_mainGUI.GameOver(killAfterTime);
 }