- Home /
 
               Question by 
               Ralidon · Aug 30, 2021 at 06:52 PM · 
                transformcanvasscalerecttransform  
              
 
              How to covert a rectTransform scale to world scale?
I'm trying to figure out how to convert a rectTransform scale to world scale. I tried a few things, but with not success. Working with the canvas can be pretty confuse some times.
Thanks for the help
               Comment
              
 
               
              do you mean by code? Or cant you create a world space canvas?
Answer by Riiich · Aug 31, 2021 at 07:56 AM
Answer to same question: https://answers.unity.com/questions/1100493/convert-recttransformrect-to-rect-world.html @Ralidon
Maybe I didn't write my question correctly.
How about the other way around? I want to move a gameObject sprite render to a identical position and scale of a RectTransform on a canvas
What about just making it a parent and use the canvas auto-fill resize tool?
Or using a world space canvas, that's the simplest way
Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
               
 
			 
                