Beispiel #1
0
 void OnTriggerEnter2D(Collider2D collider)
 {
     Destroy(collider.gameObject);
     sceneManagerScript.LoadGameScene("Game Over");
 }