Hi !
is it possible to generate an Input event from UI button click in 2019.2.6?
e.g. you have UI button “fire2” - by onclick you need to generate an event which will trigger this statement:
if (Input.GetButton(“Fire2”)) {…}
actually I know that it is possible because I used it from some external joystick asset but I do not have a code which does that…