C# 클래스 UnityContrib.UnityEngine.GUIEx

Provides helper methods for working with the T:UnityEngine.GUI class.
파일 보기 프로젝트 열기: UnityContrib/framework

공개 메소드들

메소드 설명
ScrollView ( Rect rect, Vector2 scrollPosition, Rect viewRect, GUIStyle horizontalScrollbar, GUIStyle verticalScrollbar, System.Action action ) : Vector2

Begin a scrolling view inside your GUI. ScrollViews let you make a smaller area on-screen look 'into' a much larger area, using scrollbars placed on the sides of the ScrollView.

메소드 상세

ScrollView() 공개 정적인 메소드

Begin a scrolling view inside your GUI. ScrollViews let you make a smaller area on-screen look 'into' a much larger area, using scrollbars placed on the sides of the ScrollView.
public static ScrollView ( Rect rect, Vector2 scrollPosition, Rect viewRect, GUIStyle horizontalScrollbar, GUIStyle verticalScrollbar, System.Action action ) : Vector2
rect UnityEngine.Rect /// Rectangle on the screen to use for the ScrollView. ///
scrollPosition Vector2 /// The pixel distance that the view is scrolled in the X and Y directions. ///
viewRect UnityEngine.Rect /// The rectangle used inside the scrollview. ///
horizontalScrollbar UnityEngine.GUIStyle /// GUIStyle to use for the horizontal scrollbar. If left out, the horizontalScrollbar style from the current GUISkin is used. ///
verticalScrollbar UnityEngine.GUIStyle /// GUIStyle to use for the vertical scrollbar. If left out, the verticalScrollbar style from the current GUISkin is used. ///
action System.Action /// The callback that renders the controls. ///
리턴 Vector2