Question by
TimGS · Jan 26, 2016 at 10:40 PM ·
uiscalepositioningunits
Setting UI element position in physical units during runtime.
I've a canvas scaler set to "Constant Physical Size" scale mode and a bunch of child elements. When i'm building this UI I use physical units to set up child elements RectTransform position and size. But it behaves different way during runtime. And trying to set up RectTransform position and size in physical units leads to a mess instead of UI.
Is there any way to set up physical units in RectTransofrm directly instead of getting scale factor and recalculating everything manually?
Comment
Your answer
Follow this Question
Related Questions
Scale for UI Texture 0 Answers
Screen Format Question (Panels) 1 Answer
Scale all things inside UI canvas 0 Answers