GUILayoutUtility.GetLastRectstatic function GetLastRect () : RectReturnsRect - The last used rectangle. DescriptionGet the rectangle last used by GUILayout for a control. Note that this only works during the Repaint event.
JavaScript
function OnGUI() { using UnityEngine; import UnityEngine
|
