Change RectTransform anchors and offsets : works in editor, but not in build, why ?
Hello,
I have a project for iOS. There is a menu that I want to display fullscreen on iPhone and part-screen on iPad. So I have a script where anchors and offset values for each situation are in variables, and an Apply() method for assigning the values to the targeted RectTransform. When I trigger the Apply method in editor, it works perfectly. But when I am in a build, nothing changes.
Someone have an idea of why ?
Thanks
Your answer
Follow this Question
Related Questions
Why don't I have anchors in Rect Transform or snapping guides? 0 Answers
Pause menu works in editor but not after the game is built. (New Developer) 0 Answers
unity UI button is not behaving correctly in build 0 Answers
should i avoid using anchor stretch? 0 Answers
RedctTransform messed up after moving UI components around 0 Answers