Hi, I have a script which if the player collides with the enemy, the player dies. After the player dies, I want to load a like a game over screen which I have created. How do I load this game over screen when the player dies? My game over scene is called “DeathSequenceScene”. I know a bit of Application.LoadLevel stuff, so can anyone add that function onto this script? Many thanks.
function OnTriggerEnter(other: Collider){
if (other.tag == "Player"){
Destroy(other.gameObject);
}
}