Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

Help in triggering Layout Rebuild is needed

$
0
0
Hello community!

Copied from the manual's documentation on recalculating the Auto Layout of the UI system, by using the LayoutRebuilder.MarkLayoutForRebuild (transform as RectTransform) function:

"The rebuild will not happen immediately, but at the end of the current frame, just before rendering happens."​

From this instruction itself (and I believe I verified it with some testing), I assume that I have to wait for the next frame, so that the current modifications...

Help in triggering Layout Rebuild is needed

Viewing all articles
Browse latest Browse all 23263

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>