Author Topic: Disable UIInput  (Read 2878 times)

Vesuvian

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 32
    • View Profile
Disable UIInput
« on: June 04, 2014, 05:28:58 AM »
Hey guys

I'm looking into disabling the UIInput component. I've come accross this thread:

http://www.tasharen.com/forum/index.php?topic=8381.msg39561#msg39561

Disabling the collider sounds like it would work for mouse events, but what happens with keyboard events, such as tabbing?

What is the most comprehensive way of preventing user interaction while keeping the widget visible?

Thanks,
Ves

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Disable UIInput
« Reply #1 on: June 05, 2014, 12:09:17 AM »
UIInput is just a behaviour script. What's visible is determined by widgets, and UIInput isn't a widget. You can safely disable the UIInput script if you want. It won't make it invisible.