How do I make a death like GTA V?
I want to make it go slow motion and black and white and after 2 seconds load the level again?
function OnHealthZero(){
//we indicate that the player died IMMEDIATELY so as to stop bad updates
Debug.Log("Is dead now");
dead = true;
//Make it black and white and make the time go in slow motion and later on restart the Level?
yield waitforseconds(2);
Application.LoadLevel("MyLevel");
}