Hii…I am developing a traveling game. I have to move my flight(Game object) from one point to other point based on the mouse click…My question is how can I identify the co-ordinates of Mouse click position in unity so that i can move my flight to that particular position…
you can do a raycast, using ScreenPointToRay
var ray = Camera.main.ScreenPointToRay(Input.mousePosition);
var selected : RaycastHit;
if (Physics.Raycast(ray, selected))
{
//selected.point is the 3d position of where the mouse is
}