Search Unity

Get the RGB value while touching on a GUITexture

Discussion in 'General Graphics' started by Eric_Lin, Jan 19, 2015.

  1. Eric_Lin

    Eric_Lin

    Joined:
    Oct 29, 2014
    Posts:
    32
    Hi,
    I am implementing a project that need to deal with the color problems. And here is my question, how can you detect the touched position of a guiTexture, and with that how can you get the RGB value of the touched position? I read something about hitTest ... but don't know how to make it work. Might need a little help here, please. Thanks in advance.