Myvideo

Guest

Login

How to Make a Color Picker in Unity

Uploaded By: Myvideo
3 views
0
0 votes
0

For this tutorial, I will show you how to create a color picker menu option in Unity. This will allow the players of your game to pick any color which can then be used for a number of different applications. You can have it change the color of an avatar's clothes or hair. It could change the color of a car or a paintbrush like in Photoshop. The cool thing about this mechanic is that you don't have to limit the players on what color they choose. The way to create a color pick is that you first need to have a good texture 2D of a color wheel or pallet. You will then need to set up an event trigger on this image where you can take in the player's mouse position. with this mouse position on this image, we can then get the pixel color at that position. Once you have the pixel color, you can use that color for whatever application you want. Post: Product: Play My Crypto Games: Website: Become a Supporter: SUBSCRIBE to Info Gamer for regular Video Game making videos:

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later