Author Topic: Get dimension of grid bounding box  (Read 2595 times)

laurentl

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 188
    • View Profile
    • McDROID
Get dimension of grid bounding box
« on: May 02, 2013, 09:31:41 PM »
I am making a mission log that floats above the game. I want the background sprite to encase all the items in the grid.
I don't see a property, in UIGrid that gives me that, any way to get that info other than calculating it myself ?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Get dimension of grid bounding box
« Reply #1 on: May 03, 2013, 09:47:51 AM »
NGUIMath.CalculateXXXX