• 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

Fixes in upcoming releases of Unity Answers

Using a good tone of voice when replying to posts

Requests for new tags/topics

How to use the META space

How to use the Moderator space

Questions in topic: destroygameobject

  • Unanswered Questions
  • Recommended Questions
Once you sign in you will be able to subscribe for any updates here
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

Larry-Dietz commented

How do you make a destroy command with timer and with tag.

Dec 5, '19 in Help Room

2 Replies

0 Votes

avatar image

Larry-Dietz commented

Where is the problem with the script, i want my player to die when his health is <1

Dec 5, '19 scripting problem·error·gameobject·destroygameobject

1 Reply

0 Votes

avatar image

Mouton answered

Stop an OnTriggerEnter event from happening if you quickly leave the trigger.,Is there a way to cancel an OntriggerEnter function if you leave the trigger quick enough?

Oct 6, '19 collision·trigger·destroy·collider2d·destroygameobject

2 Replies

0 Votes

avatar image

Collects commented

Enemy does not destroy player in 2D

Sep 29, '19 collider2d·destroygameobject·top down shooter·endgame

1 Reply

0 Votes

avatar image

WarmedxMints commented

Not destroying clone after interacting with other gameobject

Sep 28, '19 2d·raycast·clone·destroygameobject·top down shooter

1 Reply

0 Votes

avatar image

ddtna21 asked

How to spawn objects at random position and repeating it?

Sep 3, '19 in Help Room

0 Replies

0 Votes

avatar image

Bonfire-Boy edited

Can you destroy an object using GetInstanceID?

Aug 30, '19 c#·destroy·destroy object·destroygameobject·getinstanceid

0 Replies

1 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

Miaw666 commented

A step vanishes when you step off it?

Jul 25, '19 in Help Room

1 Reply

0 Votes

avatar image

reddtoric edited

race condition?: 2 class, 1 gameobject w/OnTriggerEnter, do all function calls execute in B if destroy gameobject in A?

Jul 13, '19 ontriggerenter·destroygameobject

1 Reply

0 Votes

avatar image

SalvadorKinnes commented

How do I stop spawning prefabs after a certain amount of time? Also how do i detroy the cloned prefabs created to imporve the performance.

Jul 3, '19 spawning·destroygameobject

1 Reply

0 Votes

avatar image

Kenshen112 asked

Why are my Game Objects being destroyed?

Jun 29, '19 gameobject·instantiate·destroy·gameobjects·destroygameobject

0 Replies

0 Votes

avatar image

ShantiB95 edited

Re-instantiated prefabs desist changes in text component

Jun 14, '19 prefab·text·scrollview·instantiate prefab·destroygameobject

1 Reply

0 Votes

avatar image

thexoy asked

Making a text box appear after a certain gameObject is destroyed

Jun 13, '19 gui·destroy·ongui·label·destroygameobject

0 Replies

0 Votes

avatar image

AdamEarlston commented

Instantly Destroy Surrounding Objects (Grenade)

Jun 11, '19 destroy·destroygameobject·grenade·shrinking

2 Replies

0 Votes

avatar image

aryali97 edited

Why aren't my prefab clones destroying on play mode exit?

Jun 2, '19 in Help Room

1 Reply

0 Votes

avatar image

DaneleRoux asked

Playing particle on 1 instance of cloned prefab

Apr 29, '19 raycast·destroy·particlesystem·destroygameobject·particleeffect

0 Replies

0 Votes

avatar image

xxmariofer commented

I want to ensure only 1 collision happens Closed

Apr 26, '19 in Help Room

1 Reply

0 Votes

avatar image

mchts commented

How to instantiate and destroy objects with 2d trigger

Apr 1, '19 2d·instantiate·prefab·prefabs·destroygameobject

1 Reply

0 Votes

avatar image

Golnahali commented

Timer for destroying/ appearing Gameobject (Vuforia) Closed

Feb 17, '19 scripting problem·gameobject·timer·vuforia·destroygameobject

2 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

Kudorado answered

Best Practice to destroy gameobject

Jan 10, '19 event·async·destroygameobject

1 Reply

0 Votes

avatar image

jimmycrazyskills commented

How do I Destroy a Child after Instantiating it?

Dec 22, '18 instantiate·destroy·child·destroy object·destroygameobject

1 Reply

0 Votes

avatar image

hexagonius answered

Unity createNew Game Object after calling a Destroy() Closed

Dec 21, '18 destroy·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

Captain_Pineapple answered

,Can i use InvokeRepeating to spawn just 1 GameObject at a time?

Nov 17, '18 spawn·if statement·spawning problems·invokerepeating·destroygameobject

1 Reply

0 Votes

avatar image

Creatom_Games commented

Pass nothing inside OnTriggerEnter2D(Collider2D other)

Nov 5, '18 in Help Room

0 Replies

0 Votes

avatar image

ranch000 edited

Destroy Without A Collision Or Trigger

Oct 25, '18 destroy·coroutine·ienumerator·destroygameobject

2 Replies

0 Votes

avatar image

miguelrmonreal asked

i'm working on a 2D shooting game but my arrow just goes right through the enemy.

Oct 12, '18 in Help Room

0 Replies

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.

Follow This Topic

Follow This Topic

Follow by RSS

No one has followed this topic yet.

Popular Topics

c# animation android unity 5 camera 2d rotation javascript scripting problem collision ui gui error shader movement gameobject physics rigidbody editor ios texture networking raycast instantiate collider transform terrain mesh prefab input
View all

Recent Badges

  • Popular Question   KloverGames
  • Famous Question   J.L
  • Famous Question   Joey-The-Great
  • Famous Question   michaelschultz
  • Famous Question   $$anonymous$$
  • Great Answer   Moonisa
  • Famous Question   tomtominc
  • Popular Question   maruudn
  • Notable Question   BarisUckardes
  • Notable Question   juncube2006


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