Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change the border's color of a button in Unity3D

I began to work with Unity3D since one month and I'm trying to do an application which contains a menu, composed by a panel and several buttons. At this moment, I'm trying to customize the menu, I change the fill color of the panel and buttons, but until now I could not change the border color of the buttons. There is any way to customize the border's color of the UI buttons? I would appreciate your help. :)

like image 408
Margarita Gonzalez Avatar asked Dec 18 '22 03:12

Margarita Gonzalez


1 Answers

The easiest way to add an outline to your button is to use the Outline component (doc).

Simply add the Outline component where your button image or text is. Then configure it how you like it :)

enter image description here

The above results in the following button: enter image description here

like image 78
Menyus Avatar answered May 16 '23 09:05

Menyus