示例#1
0
文件: GUI.cs 项目: Lineyka/Anarchy
 public static Vector2 BeginScrollView(SmartRect position, Vector2 scrollView, Rect viewRect, bool alwaysHorizontal, bool alwaysVertical, bool move = false)
 {
     scrollView = UGUI.BeginScrollView(position.ToRect(), scrollView, viewRect, alwaysHorizontal, alwaysVertical, Style.ScrollView, Style.ScrollView);
     if (move)
     {
         position.MoveY();
     }
     return(scrollView);
 }
示例#2
0
文件: GUI.cs 项目: kmlkmljkl2/Anarchy
 public static Vector2 BeginScrollView(Rect position, Vector2 scrollView, Rect viewRect, bool alwaysHorizontal, bool alwaysVertical)
 {
     return(UGUI.BeginScrollView(position, scrollView, viewRect, alwaysHorizontal, alwaysVertical, Style.ScrollView, Style.ScrollView));
 }
示例#3
0
文件: GUI.cs 项目: kmlkmljkl2/Anarchy
 public static Vector2 BeginScrollView(Rect position, Vector2 scrollView, Rect viewRect)
 {
     return(UGUI.BeginScrollView(position, scrollView, viewRect, Style.ScrollView, Style.ScrollView));
 }