Author Topic: Stylus Support  (Read 3721 times)

kennethljj

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 13
    • View Profile
Stylus Support
« on: May 05, 2014, 01:09:39 AM »
Hi,

I would like to enquire about adding stylus support for my game.
Does the current NGUI supports stylus?
I have read up on the following thread but it is quite old
http://www.tasharen.com/forum/index.php?topic=7423.msg43952#msg43952

If Ngui does not support stylus, do I have to manually add in the plugin for eg. samsung s-pen plugin from the developer site?
Then add on the suggestion from the thread above?

Thanks for help in advance.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Stylus Support
« Reply #1 on: May 05, 2014, 11:15:32 PM »
It's a question for Unity rather than NGUI. Unity treats stylus input as mouse input I believe. Mouse input is disabled on android devices by default. Check UICamera's Awake() function.