how to make bullets destroy themselves in unity 2d code example
Example: how to destroy bullets when they hit a collider unity 2d
function OnCollisionEnter(){ Destroy (gameObject); }
function OnCollisionEnter(){ Destroy (gameObject); }