Question by
Ciceri · Aug 26, 2016 at 01:17 PM ·
canvasparentrecttransform
Set a RectTransform's parent
I have one object that is a child of a canvas. I have to instantiate it and when i do this i want to set his parent (the canvas) but it doesn't work. How can i do it?
Luca
Comment
Looking now, I see that when the object is instantiated the script and all the other components attached to it are disabled
Your answer
Follow this Question
Related Questions
How to get position/size information of a UI image 0 Answers
How to tell if a RectTransform is within the visible area of a ScrollRect 1 Answer
Canvas anchor points are only near center 0 Answers
Convert global or local position to anchorPosition for a RectTransform? 0 Answers
How to get Canvas renderer bounds? 1 Answer