среда, 21 августа 2019 г.

GameDev Notes's Post

I've used to had a hard time positioning 3d Objects inside UI Canvas in #unity.
Turns out you can create an empty game object, replace its Transform component with RectTransform and place your 3D Game Object inside it - this way it'll behave as a regular UI element, you can position it with margins/paddings and layout will stretch as you'd expect.
By: via GameDev Notes

Комментариев нет:

Отправить комментарий