How to reference the inspector variable for a UnityEvent<T>?

What does your tripBreaker() method look like? Is it still present on the Ship GameObject ?

When in doubt, just delete the event and reattach it in the editor.

Unity button onclick function script callback gameobject notes:

1 Like