Author Topic: NGUI doesn't work in android tv with mouse.  (Read 2288 times)

adam718

  • Jr. Member
  • **
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 60
    • View Profile
NGUI doesn't work in android tv with mouse.
« on: July 06, 2014, 12:08:53 AM »
Hi!
I tested NGUI sample(Example 0 - Control Widgets.scene) in android tv.
When i try to click NGUI control with mouse on android tv, nothing happlens.
Unity GUI doesn't also work there in android tv from Unity 4.5 (It's working in 4.3.4)
So if you want to check, i recommend to build in unity 4.3.4.
Or if you could give me hint, i will also check by changing the script.

Thank you,
Best Regards,
Adam.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI doesn't work in android tv with mouse.
« Reply #1 on: July 07, 2014, 01:41:14 AM »
Have a look at UICamera's Awake() function. If its an Android platform, the mouse is purposely disabled on line 978.

adam718

  • Jr. Member
  • **
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 60
    • View Profile
Re: NGUI doesn't work in android tv with mouse.
« Reply #2 on: July 07, 2014, 10:27:06 PM »
It's correct answer and now it's working perfectly.

And i want you to take a look at my product which made of with only NGUI in play store when you have a short free time.
https://play.google.com/store/apps/details?id=com.smartsong.Seventh

Thank you Aren.
« Last Edit: July 07, 2014, 10:40:12 PM by adam718 »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI doesn't work in android tv with mouse.
« Reply #3 on: July 08, 2014, 11:27:33 AM »
That looks awfully complicated, and I'm both music and Korean illiterate. :)