- Home /
Question by
CrilleStyles · Mar 04, 2015 at 10:02 PM ·
c#javascriptinputaxisforce
Force input on Button?
How can I make that if I click/touch on a button (Sprite with collider) force an input for example Axis1 and button2 is Axis2?
inpuit.jpg
(13.5 kB)
Comment
Answer by xxBarginsxx · Mar 04, 2015 at 11:09 PM
How can I make that if I click/touch on a button (Sprite with collider) force an input for example Axis1 and button2 is Axis2?
Not sure what you problem is./
oh sorry. I just realized that i forgot to mention a few things. We say for example if I press the top button I want to send a signal or a message to either my movement script that the button is pressed and if it's pressed do something like: the button is pressed. move upwards. Yeah I hope you know what I mean