/** * Kills the arrow and calls management to reset the level **/ public void Die() //Brendan: Oooh, this is fancy now! //Instantiate the Explosion { GameObject d = Instantiate(explosion, transform.position, transform.rotation) as GameObject; //Inform Management of the event Debug.Log("Arrow: Calling GameManagement.ArrowExploded()"); mgmt.ArrowExploded(d); //Destroy this Arrow Destroy(gameObject); }