Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

Changing object's parent without changing position via script

$
0
0
Hi,

I would like to change a UI Image parent, but not change it's position on screen. When I move the object hierarchy on the editor, it works fine, but when I use SetParent method, it does not.

Viewing all articles
Browse latest Browse all 23263

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>