Author Topic: get the text in the input widget  (Read 1260 times)

brian661

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 12
    • View Profile
get the text in the input widget
« on: January 07, 2014, 07:33:30 AM »
i have an widget input in my panel an when the "team create button" press, 
it will send message to the script in anchor to do something. 
while i have problem in getting the text in the input widget, 
may i know how can i get the text?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: get the text in the input widget
« Reply #1 on: January 07, 2014, 09:23:52 AM »
GetComponent<UIInput>().text