Activating/Deactivating the top object is the most typical way to switch UI objects thoroughly,
but reactivating UICanvas breaks the layout of controls within, i.e starting XY location of Horizontal/Vertical Panel.
- Create a UICanvas and add any VerticalPanel and inner controls
- Set Anchor of Panel as center(X) or middle(Y)
- Toggle UICanvas’s ‘IsActive’
→ 4 Panel’s start coordinate is recalculated, and the value is changed.
This does not happens when the align is edge-anchored or toggling ‘Visible’ of individual controls.
Is this a bug, or is there another ‘right’ way to turn on/off the GUI?