Telegram Group & Telegram Channel
This media is not supported in your browser
VIEW IN TELEGRAM
Купил несколько ассетов, и...не понимаю, почему люди так не любят использовать pivot'ы у объектов.

Пример: нужно, чтоб объект был в верхнем левом углу. Если оставлять дефолтный анкор [0.5;0.5], то:
1. Нужно позицию задавать, которая зависит от размера. С анкором [0;1] можно всегда [0;0;0] оставлять.
2. Если поменяется размер объекта, то нужно и позицию твикать.

В общем, советую покурить анкоры и пивоты в Юньке, если вы ещё не. Очень упрощает работу по созданию UI того же.

#unity



group-telegram.com/game_journalist_tycoon/28
Create:
Last Update:

Купил несколько ассетов, и...не понимаю, почему люди так не любят использовать pivot'ы у объектов.

Пример: нужно, чтоб объект был в верхнем левом углу. Если оставлять дефолтный анкор [0.5;0.5], то:
1. Нужно позицию задавать, которая зависит от размера. С анкором [0;1] можно всегда [0;0;0] оставлять.
2. Если поменяется размер объекта, то нужно и позицию твикать.

В общем, советую покурить анкоры и пивоты в Юньке, если вы ещё не. Очень упрощает работу по созданию UI того же.

#unity

BY Game journalist Tycoon


Share with your friend now:
group-telegram.com/game_journalist_tycoon/28

View MORE
Open in Telegram


Telegram | DID YOU KNOW?

Date: |

Elsewhere, version 8.6 of Telegram integrates the in-app camera option into the gallery, while a new navigation bar gives quick access to photos, files, location sharing, and more. In a statement, the regulator said the search and seizure operation was carried out against seven individuals and one corporate entity at multiple locations in Ahmedabad and Bhavnagar in Gujarat, Neemuch in Madhya Pradesh, Delhi, and Mumbai. False news often spreads via public groups, or chats, with potentially fatal effects. Additionally, investors are often instructed to deposit monies into personal bank accounts of individuals who claim to represent a legitimate entity, and/or into an unrelated corporate account. To lend credence and to lure unsuspecting victims, perpetrators usually claim that their entity and/or the investment schemes are approved by financial authorities. To that end, when files are actively downloading, a new icon now appears in the Search bar that users can tap to view and manage downloads, pause and resume all downloads or just individual items, and select one to increase its priority or view it in a chat.
from it


Telegram Game journalist Tycoon
FROM American