var jumpButtom : GUITexture;
function Update(){
for (var evt : Touch in Input.touches) {
var HitTest1 = jumpButton.HitTest(evt.position);
if (evt.phase == TouchPhase.Began) {
if(HitTest1){
This will repair your computer input. Just add this on input section and drag GUI TEXTURE to jumpButton. Just a gui texture nothing more :)
↧