Hi there, I have a selection-Grid displaying a list of selectable items (texture2D) . i would like to return the color of the texture selected.
I am new in Unity. Any help out there will be welcome…
Hi there, I have a selection-Grid displaying a list of selectable items (texture2D) . i would like to return the color of the texture selected.
I am new in Unity. Any help out there will be welcome…
you could use Texture2D.GetPixel
as for your mouse event, you should look for Input.GetMouseButotnUp() in script reference