madsbangh / EasyButtons

Add buttons to your inspector in Unity super easily with this simple attribute
MIT License
1.08k stars 83 forks source link

Button does not seem to fire function for instances of a class? #36

Closed Shadestyle closed 4 months ago

Shadestyle commented 4 months ago

When adding a button and then adding a component which uses the button, pressing the button does not seem to fire the function on the component. When using it to instantiate objects in editor, it appears to not actually retrieve the transform of the object it is being fired on.

Shadestyle commented 4 months ago

Apologies, issue is solved.

madsbangh commented 4 months ago

No worries :) thank you for following up and closing the issue <3