unity3d - GetTouch(0) and GetTouch(1) are interchanging in unity -
guys have created touchjoystick.cs have problem in it. when tap , hold on left side of screen says gettouch(0) in left side…ok far good, when simultaneously tap , hold on right side of screen says gettouch(1) in right side (which want)… says gettouch(0) in right side (or in other words though still holding down gettouch(0) in left side somehow transfered right side , made left side gettouch(1) ) … please me.. here’s code. http://pastebin.com/rp8rqafq , here 2 images needed script,
joypad base
http://s5.postimg.org/3tqq6wsgz/joypad_base1.png
, joypad stick
not able upload :( not allowing me.
ok got working...
here completed script http://hastebin.com/icujaxeqik.avrasm
Comments
Post a Comment