- Home /
Prefab Canvas doesn't anchor correctly when instantiate
I have a Canvas prefab that contains a TextMesh. Those objects have a middle-center RectTransform, and I can see in the scene that the middle of the canvas is on the position set.
But, when I instantiate the prefab, it's the top-left of the canvas that appears in the position set in the instantiate. I precise the canvas in the world space render mode. 
Why ? The objective is to show this canvas exactly between two game object, and operate a rotation, so I need the anchor to be on the middle-center for that.
Your answer
Follow this Question
Related Questions
Is position used instead of pivot when anchors are different from the default? 0 Answers
how to snap anchor points on the panel ? 1 Answer
Keeping relative size of UI elements constant without moving them 1 Answer
How to merge two cells from a Grid Layout Group 1 Answer
Keeping relative size of UI elements without moving them 0 Answers