- Home /
Question by
Devon Bundy · Aug 28, 2013 at 06:58 AM ·
movement script
Triggering inputs with a button
Hey all, quick question,
For my character movement I want it to use inputs so I can use the built in script, however, I want the movement to be done with RepeatButton(s). Can I use repeatbuttons to trigger an input?
Comment
This is a discussion topic and not suitable in Unity Answers. This place is for problems and the solutions. Pls move it to forums.
You can create a function that can be called by a Input or/and a button.
Answer by smrt_co · Aug 28, 2013 at 07:35 AM
I don't think you can set Input values, but you could easily modify the script to handle button events.