Я провел исследование и понял, что можно сделать снимок экрана, а затем просмотреть текстуру, рассчитав позицию мыши.
Код: Выделить всё
Input.GetMouseButtonDown(0)
Application.CaptureScreenshot("Screenshot.png");
// get the color pixel in the same coordinates of the mouse position
Vector3 mouseCoordinates = Input.mousePosition;
myFinalColor = tex.GetPixel((int)mouseCoordinates.x, (int)mouseCoordinates.y);
Подробнее здесь: https://stackoverflow.com/questions/369 ... nity-and-c
Мобильная версия