- Home /
Question by
michaellux · Feb 26, 2019 at 06:48 AM ·
uicanvasrelative position
How to set the position of the Canvas with the text relative to the sprite?
I want to create a sprite prefab with the caption below. How to set the Canvas with the text position relative to the sprite?
Analogy with web layout:
.sprite {position: relative;}
.sprite .canvas {position: absolute;}
Comment
Best Answer
Answer by Casiell · Feb 26, 2019 at 07:57 AM
Create a word-space canvas and child it to a sprite.
Your answer
Follow this Question
Related Questions
Canvas appearing over my cursor doesn'tr trigger OnPointerExit ! 0 Answers
Menu not getting Keyboard Input 0 Answers
Lags when clicking so many times,Have problem when clicking so many times 1 Answer
Dialogue box wont show in game unless it's in the canvas but... 2 Answers
uGUI - Empty GameObjects vs Canvas 2 Answers