oddgames / UIToolkit

Single draw call UI solution for Unity with multi resolution support and more.
518 stars 153 forks source link

Set button text #160

Open eduardocoelho opened 10 years ago

eduardocoelho commented 10 years ago

Hi folks, I need to draw buttons with localized text in my application, but I could not find a way to set up a UIButton instance text property (plus a normal/selected background image).

Does anyone know if someone has done (or simulated) this before?

oddgames-david commented 10 years ago

You can use a seperate UITextInstance object in front of your button.