With all the mouse interaction hooks already provided by any game objects, I was able to use them as buttons as well with no problem. Almost like using
When would you use UI Button over just bare bone Game Objects?
With all the mouse interaction hooks already provided by any game objects, I was able to use them as buttons as well with no problem. Almost like using
When would you use UI Button over just bare bone Game Objects?
I use them in the UI when they’re going to act like… buttons ![]()
Yeah but any game object can easily be a button too.
Yep, no argument there. ![]()
This ![]()
Yes, gameobject can be button too but UI-button is ready to use and has much useful functions.
Can you give me an example of a “useful” function that a button has that a regular game object doesn’t?
Regular gameobject is empty
Button is the gameobject that can be allready used as button.
-is animated (+ can be used as bar)
-platform independed
-easy to use with different aspect ratio
-can be controlled with a gamepad