- Home /
Question by
TopStar0812 · Jan 18, 2021 at 10:56 AM ·
movementgameobjectcanvasrecttransformratio
Unity 2D GameObject Movement.(C#)
Hello, Unity Experts. I'm a beginer of Unity C#. Now, I'm making a small card game with Unity C#. But the score board movement doesn't work well. I'm trying to move it as much as it's width to show.(It posited outside of Game Camera) By the screen size, gameobject width increases or not. But recttransform.rect.width of that object always display only same value - 259. So, please help me. Thanks.
Comment
Your answer
Follow this Question
Related Questions
Game Object not moving in Canvas 0 Answers
Canvas shrinks over time 0 Answers
Moving images around 0 Answers
UI rect touch is not working? 1 Answer
How to covert a rectTransform scale to world scale? 1 Answer