Is there any way to know if a scroll view is currently showing Scroll Bars in a particular direction (horizontally / vertically)?
I’m using a system that fills in a windows content automatically and I need to know when the content has exceeded the bounds of the scroll view in the window.
void ShowWindow( int id )
{
_scrollPosition = GUILayout.BeginScrollView( _scrollPosition );
{
FillInContent();
}
GUILayout.EndScrollView();
//I need to know at this point if the content has exceeded the bounds.
}