• 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

Me4tWag0n edited

Trying to script random tumbleweeds rolling across game background

Apr 7, '18 in Help Room

0 Replies

0 Votes

avatar image

GameMaker1111 edited

replace gameobject after destroy,Replace Gameobject after destroying

Jun 1, '20 in Help Room

1 Reply

0 Votes

avatar image

KooYoung edited

How to make game object 1 able to destroy game object 2 if it was given some sort of power up?

Aug 15, '21 destroy·destroy object·destroygameobject

0 Replies

0 Votes

avatar image

hexagonius commented

Best way to render GameObjects?

Jul 18, '18 optimization·destroygameobject

0 Replies

0 Votes

avatar image

WeirdWeirdo56 answered

How do I destroy an object after giving the player a point?

Oct 10, '21 points·destroygameobject

2 Replies

0 Votes

avatar image

The_Three_Vs commented

Issue with Destroying Gameobjects

Apr 1, '20 in Help Room

1 Reply

0 Votes

avatar image

Kasper2000 edited

Create new transform when other transfrm is destroyes Closed

Apr 2, '20 in Help Room

1 Reply

0 Votes

avatar image

targaciej answered

Destroying Assets is not permitted to avoid data loss

May 25, '21 build-error·destroygameobject

1 Reply

0 Votes

avatar image

isyrfs published

how to stop the timer when player dies hit the enemy?,how to stop the timer when player dies hit the enemy?

Apr 20, '21 gameobject·destroygameobject·timer countdown

0 Replies

0 Votes

avatar image

Magso commented

how can i destroy an object on press of space when its x position is equal to or greater than the other object,how can i destroy a object when its x position is equal or greater to the character's x position.

Dec 2, '20 destroygameobject

0 Replies

0 Votes

avatar image

LowZhuang commented

Destroy GameObjects before going to another scene to save Memory? Increase Performance?

Jan 29, '19 performance optimization·scene-switching·destroygameobject

1 Reply

1 Votes

avatar image

andyblueAMS001 commented

Hi i need help, how to make the player attack the next enemy with the same tag one by one until all is destroyed,How to destroy all the objects with the same tag one by one until no one is left

Jul 21, '20 follow·tags·destroy object·destroygameobject

1 Reply

0 Votes

avatar image

S4lad edited

Destroying blocks Closed

Dec 9, '18 minecraft·destroygameobject

0 Replies

0 Votes

avatar image

harpingseal asked

how to destroy an object when it was hit with particle

Sep 3, '20 particles·destroy object·destroygameobject

0 Replies

0 Votes

avatar image

Bakudan edited

Unity Stop/Freeze when Destroying+reloading a lot of GameObjects, solution ?

May 12, '18 in Help Room

0 Replies

0 Votes

avatar image

fairsacademy asked

How to save game objects and switch out unsaved game objects via code.

Oct 20, '21 in Help Room

0 Replies

0 Votes

avatar image

Miaw666 commented

A step vanishes when you step off it?

Jul 25, '19 in Help Room

1 Reply

0 Votes

avatar image

Stiliatis Togrou published

Trigger works but i the statement code is not doing what it should.

Jun 24, '16 2d-platformer·triggers·destroygameobject

1 Reply

0 Votes

avatar image

qaziJunaid edited

Destroy object when it is in space for certain time continously

Sep 6, '17 space·destroygameobject

1 Reply

0 Votes

avatar image

myzzie commented

Destroying assets is not permitted to avoid data loss and var fix does not work between scripts

Nov 16, '20 destroygameobject

0 Replies

0 Votes

avatar image

Fireatwill35 asked

[2D] Freezing all constraints also destroys gameobject

Feb 8, '18 in Help Room

0 Replies

0 Votes

avatar image

plasticadmiral413 edited

destroying instantiated prefab loaded to 2D list

Jan 19, '18 in Help Room

0 Replies

0 Votes

avatar image

Ginxx009 asked

Destroyed GameObject but still trying to access it Closed

Feb 2, '18 c#·inheritance·destroygameobject

0 Replies

0 Votes

avatar image

eni_cay edited

2D sprite won't destroy on collision

Jul 30, '19 in Help Room

0 Replies

0 Votes

avatar image

AttentionHorse edited

How do I destroy a GameObject by activating a nearby particlesystem.

Mar 19, '17 in Help Room

0 Replies

0 Votes

avatar image

LCStark answered

when trying to destroy more than one enemy it will destroy a different one to the one I tried to

Jan 7, '20 c#·destroygameobject

2 Replies

0 Votes

avatar image

FlaSh-G answered

How do I delete a certain number a clones from my scene?

Apr 2, '20 destroygameobject·clones

1 Reply

0 Votes

avatar image

alan-c25 asked

Bullets not destroying enemies

May 28, '20 in Help Room

0 Replies

0 Votes

avatar image

Bingowaders commented

Is Destroy(transform.parent.gameObject) Unreliable?

Jan 14, '22 destroy·if-statements·ontriggerstay·destroygameobject

1 Reply

0 Votes

avatar image

vikingallday1 published

How do I make one object appear after my Player collides with another object?

Jun 12, '17 in Help Room

0 Replies

0 Votes

  • »
  • ‹
  • 3
  • 4
  • 5
  • 6
  • 7
  • ›

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