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