Cant destroy with Destroy(gameObject);

The code above doesn’t even compile. It has errors. Fix those first.

If you post a code snippet, ALWAYS USE CODE TAGS:

How to use code tags: Using code tags properly

1 Like