- Home /
How do I delete an object in my Project
I'm trying to edit a project by deleting some objects directly from the scene view, however the objects are returning even though I'm saving it. I'm i deleting the objects the right way?
I've seen this too, deleting textures (jpg files) that I don't need, yet when I build, they come back, perhaps retrieved from cache????
Answer by Justin Warner · Jan 06, 2011 at 12:06 AM
Make sure your game isn't running when you're deleting your game... Also, try re-saving in a new location.
If you mean while it's running, look up the Destroy() command.
Answer by FrHaYwOrKs · Apr 12, 2011 at 08:12 AM
Also make sure that no script is generating new objects at runtime, if the problem you're stating is related to objects you see while the game is running!
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
How to use same material? 0 Answers
On Trigger Delete Object 1 Answer
How to check if object is skewed ? 2 Answers
Click To Delete Specific Object 1 Answer