Author Topic: UIPanel.enabled being set to false somehow.. any ideas?  (Read 6374 times)

Wisteso

  • Full Member
  • ***
  • Thank You
  • -Given: 21
  • -Receive: 3
  • Posts: 103
    • View Profile
UIPanel.enabled being set to false somehow.. any ideas?
« on: January 10, 2017, 04:38:54 PM »
Near as I can tell, I dont have any code doing this, but it's definitely happening and I cant find out why since I cant attach the debugger to the built-in ".enabled" property.

Anyone have any ideas how a UIPanel might be set to disabled in a way that's not obvious? (Not the gameobject, the UIPanel script itself). There was no exception in the debug log.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIPanel.enabled being set to false somehow.. any ideas?
« Reply #1 on: January 13, 2017, 10:18:15 PM »
Put a Debug.Log in UIPanel's OnEnable function and you will find where it's called from.