Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity image button

• Create a new button, right click in hierarchy;
UI -> Button/Button - Text Mesh Pro

• Select the button that you just created and change the image.

To make your existing image into a button;
• Select your image and click Add Component -> Button
 
PREVIOUS NEXT
Tagged: #unity #image #button
ADD COMMENT
Topic
Name
1+3 =