Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public static void EnsureChildIsShowing(this ScrollRect scrollRect, RectTransform childTransform) { if (scrollRect.horizontal) { scrollRect.EnsureHorizontalChildIsShowing(childTransform, scrollRect.horizontalNormalizedPosition); } if (scrollRect.vertical) { scrollRect.EnsureVerticalChildIsShowing(childTransform, scrollRect.verticalNormalizedPosition); } }