I have been making an iOS app and been using mousebuttondown for my raycasts which works fine. However if someone accidently has an extra finger on the screen it no longer works. Is it possible to handle multiple touches which a raycast easily?
if (Input.GetMouseButtonDown(0))
{
//empty RaycastHit object which raycast puts the hit details into
var hit : RaycastHit;
//ray shooting out of the camera from where the mouse is
var ray : Ray = cameraInterface.ScreenPointToRay(Input.mousePosition);
if (Physics.Raycast(ray, hit))
thanks for the suggestion, i will give it a go. I know I need to convert to unityscript but I will give it a go