Destroy Object by Hit – Unity3D (C#) Before implement this code, please check if you add “Rigidbody” component to your objects and “Is Trigger” box is selected. Otherwise, it doesn’t work. [crayon-6752276788299218639952/] ©Coffee Break Codes – Destroy Object by Hit – Unity3D (C#)