Author Topic: UIGrid at runtime is always inactive on 3.0.6 f5  (Read 2817 times)

strobe

  • Guest
UIGrid at runtime is always inactive on 3.0.6 f5
« on: November 28, 2013, 09:36:00 AM »
Recently I've upgraded my project from 2.7 to 3.0.6 f5 - I've fixed all errors, but after I got
very strange problem with UIGrid.
At runtime any UIGrid components is always inactive, even I tried to
activate it in editor by enable component checkbox (all parents nodes is active).
Creating Grid from NGUI menu also is created inactive nodes, that can't be activated.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIGrid at runtime is always inactive on 3.0.6 f5
« Reply #1 on: November 28, 2013, 02:41:49 PM »
UIGrid deactivates itself after executing its logic. It wouldn't make much sense for it to keep running it every frame. If you want to execute it again, call its Reposition() function.