Author Topic: TouchScreenKeyboard.area always returns (0,0,0,0)  (Read 3771 times)

Prodigga

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 2
  • Posts: 17
    • View Profile
TouchScreenKeyboard.area always returns (0,0,0,0)
« on: October 09, 2014, 02:08:48 AM »
Hey guys

I am just trying to move my UI above the on screen keyboard, but the function that returns the onscreen keyboard size is always returning 0. TouchScreenKeyboard.visible returns the correct values, but not TouchScreenKeyboard.area. I was wondering if this was a problem with NGUI's UIInput's conflicting with something? What is the standard way to get the keyboard size?

Also, slightly offtopic, is there a way to hide the white input box with the "ok" button next to it when I summon the on screen keyboard? I am typing directly into my input field so there is no need to see the input twice.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: TouchScreenKeyboard.area always returns (0,0,0,0)
« Reply #1 on: October 10, 2014, 02:16:41 AM »
No, this is all Unity. I suggest reporting it as a bug to them.