|
so i have a set of foldouts and i want to get the position in the inspector of one of the fold outs so i can place my object field accordingly is there a way of getting the position in the inspector of the foldout? Here is my current code( i was experimenting with tower1DropDown.position.width, but it isn't working):
(comments are locked)
|
|
http://unity3d.com/support/documentation/ScriptReference/GUILayoutUtility.GetLastRect.html wanna take a look at this maybe ?
(comments are locked)
|
