How can I make On Click events work for buttons?
@HellFireKoder Thank you very much. Let me know if you want any help
@HellFireKoder if sp runs on C#, can I import javascript instead if importing a script?
@mushr0om I always write a script to subscribe to the button.onClick event at runtime. Check out the example in Unity's scripting reference :)
button.onClick
No problem @mushr0om
@sexylips35 Yeah. Thanks for the upvotes
@mushr0om Your points is 5,023 and is yellow!
VVV
@HellFireKoder
@HellFireKoder Thank you very much. Let me know if you want any help
@HellFireKoder if sp runs on C#, can I import javascript instead if importing a script?
@mushr0om I always write a script to subscribe to the
button.onClick
event at runtime.Check out the example in Unity's scripting reference :)
No problem @mushr0om
@sexylips35 Yeah. Thanks for the upvotes
@mushr0om Your points is 5,023 and is yellow!
VVV
@HellFireKoder