Question by
hexagonius · Oct 20, 2015 at 05:13 PM ·
sizerecttransformplaymoderectalternate
RectTransform.rect.size alternating values
Hey guys,
I have a serious problem with the size of a RectTransform.rect. I read the value of it in Awake() (also tried in Start()). The y value alternates between 0 and 30, reliably on every Play-Button Press. Play -> 0 -> Stop -> Play -> 30 -> Stop -> Play -> 0 ...
I am only using Layout Components and visually, the RectTransform doesn't do anything. Even more weird, after coming back from Play Mode, all values should be back to the same as before, right?
What is happening here?
Comment