destroy object unity is good ? code example Example: how to destroy an object in unity Destroy(gameObject);