Author Topic: UILabel  (Read 1287 times)

shokinhan

  • Guest
UILabel
« on: June 26, 2012, 01:07:39 AM »
I want to use mouse determine the input position, then add character at the special position. How to do ?

PhilipC

  • Guest
Re: UILabel
« Reply #1 on: June 26, 2012, 06:36:15 AM »
You will need to add a collider to the label such that it becomes clickable. You will then be able to receive a OnClick function call back when the label is clicked. From there you will have to figure out where on the collider the mouse was clicked relative to the text and you will have to insert the character.

I'm working on something similar for UIInput which will hopefully be done shortly.