OSATParams, TItemViewsHolderRebuildLayoutDueToScrollViewSizeChange Method |
Called mainly when it's detected that the scroll view's size has changed. Marks everything for a layout rebuild and then calls Canvas.ForceUpdateCanvases().
IMPORTANT: Make sure to override MarkForRebuild in your views holder implementation if you have child layout groups and call LayoutRebuilder.MarkForRebuild() on them
Namespace: Com.ForbiddenByte.OSA.Core
protected virtual void RebuildLayoutDueToScrollViewSizeChange()