Quantcast
Viewing all articles
Browse latest Browse all 8

Answer by cj12345

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 :)

Viewing all articles
Browse latest Browse all 8

Trending Articles