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:
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
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