ForceUpdateRectTransforms()
Forces immediate processing of any pending Transform -change notifications.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public void ForceUpdateRectTransforms()
Remarks
Call this method when you need accurate values for RectTransform.rect, RectTransform.anchoredPosition, or corner positions, if the recalculation of RectTransform.anchoredPosition and RectTransform.rect is deferred until . Recalculation is deferred when the position of a is modified through the system (for example, by animation or by setting Transform.localPosition directly).
PostLateUpdateRectTransformTransform