• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges

Destroygameobject

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

eliteforcevn answered

How to destroy object after it moves out of screen

Feb 25, '20 in Help Room

7 Replies

8 Votes

avatar image

Marceta answered

Working Fine Then Get: No Cameras Rendering after destroying GameObjects

May 31, '17 raycast·destroy·raycasting·raycasthit·destroygameobject

2 Replies

0 Votes

avatar image

RendrWyre commented

Destroy Objects after a set time

Jan 9, '20 destroy·delay·destroy object·destroygameobject·destroy-clones

2 Replies

1 Votes

avatar image

SHG published

OnTriggerEnter only Destroy other.gameObject.name "?"

Feb 17, '13 ontriggerenter·destroygameobject

2 Replies

0 Votes

avatar image

Zitoox commented

Spawn an object and destroy it

Jul 25, '16 script.·spawn·destroygameobject·beginners

4 Replies

0 Votes

avatar image

RickHurd commented

How do i get my object to explode and destroy?

Apr 14, '13 particlesystem·destroygameobject·explode

2 Replies

0 Votes

avatar image

KellyThomas commented

How to destroy an object if it already exist in a scene

Dec 15, '13 gameobject·destroy·duplicate·destroygameobject

2 Replies

0 Votes

avatar image

LCStark edited

The object of type 'Transform' has been destroyed but you are still trying to access it.

Sep 30, '18 destroy·error message·tag·destroygameobject

1 Reply

0 Votes

avatar image

Cains edited

OnMouseDown - if statement

Nov 4, '13 destroygameobject

2 Replies

0 Votes

avatar image

HenryStrattonFW commented

Destroy parent after all children have been destroyed

Jan 20, '17 in Help Room

2 Replies

1 Votes

avatar image

arashsh commented

Go to GAMEOVER scene when player health bar reaches 0

Dec 24, '17 in Help Room

1 Reply

0 Votes

avatar image

$$anonymous$$ edited

Help me destroy anplayer when out of bounds.

Dec 3, '15 in Help Room

2 Replies

0 Votes

avatar image

RedHedZed commented

Deleting objects at specific position

Feb 24, '16 in Help Room

1 Reply

0 Votes

avatar image

chainylol commented

Colliding with multiple objects to destroy other gameObject

Jul 11, '17 collision·gameobject·programming·multiple·destroygameobject

4 Replies

0 Votes

avatar image

Joe Long commented

Multiple GameObjects accessing the same script, when script destroys game object, it destroys it across all the GameObjects

Jul 1, '15 scripting problem·destroygameobject·shield·static variables

1 Reply

1 Votes

avatar image

SteenPetersen commented

Unable to delete object from a list using foreach loop

May 29, '20 c#·nullreferenceexception·lists·foreach·destroygameobject

1 Reply

0 Votes

avatar image

sirfaty edited

How can I debug gameObject destruction?

Jul 23, '13 destroy·destroygameobject

2 Replies

0 Votes

avatar image

Owen-Reynolds commented

How to stop multiple overlapping spawns at one specific position?

May 31, '14 destroygameobject·overlapping

1 Reply

0 Votes

avatar image

WAELK published

Spawning infinite coins

Aug 28, '16 platformer·spawning·infinite·destroygameobject·coins

1 Reply

0 Votes

avatar image

edhex commented

How to destroy game object after a delay

Dec 29, '14 collision·destroy·destroygameobject

1 Reply

0 Votes

avatar image

tocu-adrian answered

How to destroy an instantiated object

Oct 3, '18 object·destroy·destroygameobject

2 Replies

0 Votes

avatar image

LetsBeChillx answered

Which object needs to be the trigger?

May 27, '17 in Help Room

2 Replies

0 Votes

avatar image

FlaSh-G commented

DontDestroyOnLoad gameobject once destroyed is not reloading. How to reset scene to allow it reload?

Sep 7, '17 gameobjects·destroygameobject·restart game

1 Reply

0 Votes

avatar image

dfeldhaus published

Optimize huge number of Destroy() calls (cannot use object pooling)

May 9, '17 gameobject·performance·destroy·optimization·destroygameobject

3 Replies

1 Votes

avatar image

tanoshimi answered

how to save destroyed state of an object

Dec 28, '16 gameobject·object·destroy·state·destroygameobject

1 Reply

0 Votes

avatar image

laurienash commented

Destroy character controller and instantiate new one

May 18, '13 destroy·destroygameobject·thirdpersoncontroller

1 Reply

0 Votes

avatar image

unit_nick commented

Can't destroy object created in editor

Jan 30, '18 destroygameobject

1 Reply

0 Votes

avatar image

dgknrdm commented

Is there a way to Destroy a GameObject with given Coordinates?

Mar 17, '16 in Help Room

2 Replies

0 Votes

avatar image

Bunny83 answered

Problem Destroying Gameobject

May 30, '16 trigger·coroutine·destroygameobject

3 Replies

1 Votes

avatar image

asafsitner commented

Two objects BOTH with Destroy(other.gameObject) aren't destroying each other??

Apr 25, '13 collider·destroygameobject

1 Reply

0 Votes

  • 1
  • 2
  • 3
  • 4
  • 5
  • ›
  • »

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Related Topics

destroy destroy object c# gameobject collision instantiate 2d scripting problem trigger 2d game prefab collider2d ontriggerenter raycast destroy-clones instantiate prefab spawning unity 2d tag object collision2d collider error gameobjects collision detection


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges