How can I hide an object when hit by Bullet?


How can I make a gameObject like a box disappear when it’s hit by a bullet with a tag like “ObjectHider”? And then make the box appear again after 10 seconds? I can’t use the destroy function because that would just delete the item right? I am using physical bullets and not Reycast.

Hi!I know the answer, but I can’t show you how to do it so take a look: Unity/Learn/Documentation/Scripting API, choose the C# or Js and search what you need;
if you won’t find it then write me down and I help you!So good luck!