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

Problem with instantiate UI prefabs

$
0
0
When I instantiate prefab with RectTransform on it in most cases it works wrong. Usually ancoredPosition and deltaSize resets and I have to set it again from script. There are another bug that I think linked to the same. I use ReferenceResolution that in all phones interface scale and looks well. And it works well with UI elements that allready exist on scene, but when I instantiate prefab with RectTransform its not scale at all. This bug has always is reproduce (((

Viewing all articles
Browse latest Browse all 23263

Latest Images

Trending Articles



Latest Images

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