hey everyone,
im trying to get my multi touch working for my script, i used the code at the top to enable it but from what ive read it takes more then that, any hits on how to get it working for my code? this is what i have so far
static var multiTouchEnabled = true;
var jet :Transform;
function OnGUI () {
if (GUI.RepeatButton (Rect (75,50,75,75), "U")) {
jet.transform.Translate(0,Time.deltaTime*30,0);
}
if (GUI.RepeatButton (Rect (75,200,75,75), "D")) {
jet.transform.Translate(0,-Time.deltaTime*30,0);
}
if (GUI.RepeatButton (Rect (10,125,75,75), "L")) {
jet.transform.Translate(-Time.deltaTime*30,0,0);
}
if (GUI.RepeatButton (Rect (135,125,75,75), "R")) {
jet.transform.Translate(Time.deltaTime*30,0,0);
}
if (GUI.Button (Rect (775,300,75,75), "S")) {
Application.LoadLevel(0);
}
if (GUI.Button (Rect (775,375,75,75), "Q")) {
Application.Quit();
}
}