- Home /
Question by
cvolpe6 · Mar 24, 2019 at 11:03 PM ·
gameobjectpanelgui.boxdimensions
Get real gameobject dimension
Hi, I'm just getting started with Unity. I created a colorful panel and I need to add another panel (via Gui.box script) above the colored panel with the same dimensions. I can't get the same size. The colorful panel has the pivot at the four corners. I have tried both with localposition and with position but the dimensions are different. Does anyone have help?
Thanks in advance
Comment
Your answer
Follow this Question
Related Questions
Is there a way to edit the dimensions of a gameobject such as a cube or a plane? 2 Answers
What the settings panel in Unity? 1 Answer
GameObject.setActive(true) not working despite children and parents are active 1 Answer
Detect UI Panel click 2 Answers
Unable to close the Game Over's panel after clicked a button 1 Answer