예제 #1
0
    void Die()
    {
        Destroy(gameObject);
        thruster.Destroy();
        LevelManager lvlMgr = GameObject.Find("LevelManager").GetComponent <LevelManager> ();

        lvlMgr.LoadScene("End");
    }