Helppp meee about making Cube... Urgent...

My friends…

Firstly, I am new in Unity…
I want to make a cube like normal one… Cube has 6 sides. I want to add colors on cube’s 4 sides randomly.

For example in this picture… [56335-adsız.png|56335]

But I need to add URL on sides.

For example , If 3rd side is Pink, When I click pink side of cube. It directs me to website like (facebook.com)…

How can I do it ? Please help me … I know C#. If you do and share with me , I will be Happy :slight_smile:

Thanks…

you can access the color data of the cube through the Mesh class, assigning colors for each vertex. for the touch, you will be able to get the triangle you clicked on through the RaycastHit that’s returned by Physics.Raycast. Since you know what colors you assigned, you should be able to call the right URL.

Hexagonius

Can you write code and share with me ?