How to call public methods?

Original Post on Discord

by user 352282921056468993

Hey :wave: 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 :thinking:

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