I get an error message saying: Assets/Scripts 1/Audio upon death.cs(1.36): error CS8025: Parsing error
The script that i wrote is trying to get an audio file to play in it's entirety and re spawn my character when it finishes. Can anyone help me find the error? (soz i'm pretty new to scripting.)
public AudioClip "Death Song";
public float length 10;
void OnDeath(){
audio.PlayOneShot(Death Song);
Invoke("Respawn",length)
}