Question by 
               agiro · Feb 21, 2017 at 08:42 PM · 
                user interfacelayoutrecttransform  
              
 
              Rect transform values greyed out due to driven values - but need to get them from script
I use layout groups to mimic the WPF XAML layout and I need to get the RectTransform width and height in my script to calculate the elements' width and to fit them. Thing is, as my panel's RectTransform's width and height are greyed out I can't access them from my script - I get 0. Note that I don't want to change it from my script, just get them. How to? 
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
Why don't I have anchors in Rect Transform or snapping guides? 0 Answers
Get the Rect property of a UI object inside a Canvas that has the HorizontalLayoutGroup Component 0 Answers
Unity RectTransform y value changing to height after exiting play mode? 0 Answers
RedctTransform messed up after moving UI components around 0 Answers
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                