Button
What is it ?
Button is made to detect a click with interface on your screen. And with this click you can do some actions like icrement value or active / disactive or load a scene.
How create it ?
You have to add Button component in a GameObject. All component require will be added by the Button.
Example :
Functions
setText : set the button text
setTextPosition : set the position of text inside the button
setTextColor : set the text color
setBackground : set an image in background of button
Example :
Last updated