- I created a manager object and script with a public method
- on click of a button, it calls this public method
- for some reason, this method isnt actually executing - is there something im missing?
by user 352282921056468993
by user 352282921056468993
Hey Everything looks correct.
Have you updated to the latest version? (3.10.2
)
i did yea. Im gonna compare between the sample scene that has a UI button again and try to look at the differences
by user 352282921056468993
Hi methods called from UnityEvents must start with a lowercase letter (e.g. toggleStonkActive in your case). The browser console should have logged a warning
Oooo thank you! Will note that down so i dont make that same mistake lol (console sadly didnt tell me)
by user 352282921056468993
Oh ok good to know