Unity ContentSizeFitter 手动刷新
2021-04-29 18:26
标签:shc contents ref bsp build transform fresh refresh oid public void RefreshContentSizeFitter() Unity ContentSizeFitter 手动刷新 标签:shc contents ref bsp build transform fresh refresh oid 原文地址:https://www.cnblogs.com/3dunity/p/13231761.html
{
ContentSizeFitter[] csfs = itemRoot.GetComponentsInChildren
foreach (var item in csfs)
{
LayoutRebuilder.ForceRebuildLayoutImmediate(item.GetComponent
}
}
文章标题:Unity ContentSizeFitter 手动刷新
文章链接:http://soscw.com/index.php/essay/80166.html