public LayoutScrollScope(Rect rect, Vector2 scroll) { this.scroll = GUILayout.BeginScrollView(scroll); GroupScope.putOrigin(rect.position); GroupScope.putOrigin(-this.scroll); }
public InsideWindowScope(Vector2 windowPos) { GroupScope.putOrigin(windowPos); }