GUILayout.BeginScrollViewstatic function BeginScrollView (scrollPosition : Vector2, params options : GUILayoutOption[]) : Vector2static function BeginScrollView (scrollPosition : Vector2, alwaysShowHorizontal : boolean, alwaysShowVertical : boolean, params options : GUILayoutOption[]) : Vector2static function BeginScrollView (scrollPosition : Vector2, horizontalScrollbar : GUIStyle, verticalScrollbar : GUIStyle, params options : GUILayoutOption[]) : Vector2static function BeginScrollView (scrollPosition : Vector2, style : GUIStyle, params options : GUILayoutOption[]) : Vector2static function BeginScrollView (scrollPosition : Vector2, alwaysShowHorizontal : boolean, alwaysShowVertical : boolean, horizontalScrollbar : GUIStyle, verticalScrollbar : GUIStyle, params options : GUILayoutOption[]) : Vector2static function BeginScrollView (scrollPosition : Vector2, alwaysShowHorizontal : boolean, alwaysShowVertical : boolean, horizontalScrollbar : GUIStyle, verticalScrollbar : GUIStyle, background : GUIStyle, params options : GUILayoutOption[]) : Vector2Parameters
ReturnsVector2 - The modified scrollPosition. Feed this back into the variable you pass in, as shown in the example. DescriptionBegin an automatically laid out scrollview. Automatically laid out scrollviews will take whatever content you have inside them and display normally. If it doesn't fit, scrollbars will appear. A call to BeginScrollView must always be matched with a call to EndScrollView.
JavaScript
// The variable to control where the scrollview 'looks' into its child elements. using UnityEngine; import UnityEngine |

