switch (collision.gameObject.tag)
{
case "Friendly":
audioSource.PlayOneShot(finishSound);
break;
case "Finish": //i rich this case and console show that code completed well...
state = State.NextLevel;
audioSource.Stop();
print("STOP");
print("FINISH SOUND");
audioSource.PlayOneShot(finishSound);
Invoke("LoadNextLevel", 2f);
break;
default:
state = State.Dead;
Invoke("LoadFirstLevel", 2f);
break;
}
}