2D Toolkit Forum
2D Toolkit => Support => Topic started by: kabuto202 on April 17, 2014, 02:16:53 pm
-
So using the included 2DTookit demo Layout Window prefab, how can I get the rendered bounds of the window assuming I resized the object in the tk2dUILayoutContainer? Calling GetBounds() on the slicedsprite only gets me the bounds of the actual sprite itself, and unfortunately it seems that the tk2dUILayoutContainer class is undocumented.
-
tk2dUILayout.GetMinBounds and GetMaxBounds will return the world space min and max bounds for the layout.