I basically have this code. I got performance errors in unity3d when I tried to use OnMouseUp()
function. I have no idea how to use Touch functions
for android.
void OnMouseUp()
{
DetectCollider.IfInMain = false;
DetectCollider.Score = 0.00f;
MainMenux.SetActive(false);
Mech.transform.rotation = Quaternion.Euler(270, 180, 0);
DetectCollider.Speed = 100;
ScoreCountTurn = true;
}