Skip to content

Instantly share code, notes, and snippets.

@Gojeflone
Created February 17, 2014 02:04
Show Gist options
  • Save Gojeflone/9043459 to your computer and use it in GitHub Desktop.
Save Gojeflone/9043459 to your computer and use it in GitHub Desktop.
Destroying objects in Unity
function Start () {
Destroy(gameObject.Find("Box"), 3);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment