728x90
https://delightdev.com/unity-reference-pixels-per-unit-%EC%9D%B4%ED%95%B4/
Unity - Reference Pixels Per Unit ์ดํด
์ด ๊ธ์์๋ Unity์ Canvas Scaler์์ ์ค์ํ ์ค์ ์ธ Reference Pixels Per Unit์ ๋ํด ์ค๋ช ํฉ๋๋ค. ์ด ์ค์ ์ ์คํ๋ผ์ดํธ์ UI ์์์ ํฌ๊ธฐ ์กฐ์ ์ ํต์ฌ์ ์ธ ์ญํ ์ ํ๋ฉฐ, ๋ค์ํ ํด์๋์์ UI์ ์ผ๊ด๋
delightdev.com
https://docs.unity3d.com/ScriptReference/Canvas-referencePixelsPerUnit.html
Unity - Scripting API: Canvas.referencePixelsPerUnit
Sprites have a Pixels Per Unit that control the pixel density of the sprite. For sprites that have the same Pixels Per Unit as the Reference Pixels Per Unit in the Canvas, the pixel density will be one to one.
docs.unity3d.com
728x90
'๐ฎ Unity Study > Unity' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Unity] Prefab Variant ํ๋ฆฌํน ์์ (0) | 2024.04.30 |
---|---|
[Unity] Sound ๋ชจ๋ฐ์ผ ์ต์ ํ (0) | 2024.04.30 |
[Unity] Button onClick.AddListener (0) | 2024.02.16 |
[Unity][MenuItem hotkey(shortkey)] %(ctrl, cmd), #(shift), &(alt)... (0) | 2024.01.24 |
[Unity] Github package npm ๋ฐฐํฌ (0) | 2023.12.07 |