Author Topic: UIInput  (Read 79155 times)

yo_milo

  • Newbie
  • *
  • Thank You
  • -Given: 10
  • -Receive: 2
  • Posts: 36
    • View Profile
Re: UIInput
« Reply #90 on: February 12, 2015, 07:18:58 PM »
Just as a curiosity. Why do you have a public remove focus, but not a public focus?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIInput
« Reply #91 on: February 13, 2015, 08:58:36 AM »
The description above the function explains:
  1.         /// <summary>
  2.         /// Convenience function to be used as a callback that will clear the input field's focus.
  3.         /// </summary>
It's meant to be called from some delegate set in Inspector.

When using code, use UIInput.isSelected.