[Memo-Unity] 20. Ui

์—…๋ฐ์ดํŠธ:

์นดํ…Œ๊ณ ๋ฆฌ:

ํƒœ๊ทธ: ,


Ui

Ui

๊ฐœ์ธ๊ณผ์ œ ํ’€์ด์˜์ƒ








1. UI Canvas

Scale Mode image

์•ต์ปค

๊ธฐ์ค€์  -> ๋งŒ์•ฝ ํ•ด์ƒ๋„๊ฐ€ ๋ฐ”๋€Œ๋ฉด ๊ธฐ์ค€์ ์„ ๊ธฐ์ค€์œผ๋กœ UI ์กฐ์ ˆ๋œ๋‹ค.
์•ต์ปค์— ๋”ฐ๋ผ UI๋ณ€ํ˜•์ด ๋‹ค๋ฅด๊ฒŒ ๋Š˜์–ด๋‚œ๋‹ค.






2. TextMashPRO

ํฐํŠธ์ถ”๊ฐ€ -> WINDOW -> TMP -> FONT ASSET CREATOR
-> GENERATE FONT ATLAS, SAVE -> FONT(ATLAS Population Mode = Dynamic)
image
image






3. button

button ํด๋ฆญ์‹œ ๋ณด์ด๊ณ  ๋‚˜ํƒ€๋‚˜๋Š” (setactive) ์ฝ”๋“œ๋กœ๋„ ๊ฐ€๋Šฅํ•˜์ง€๋งŒ ๋ฒ„ํŠผ์— ON Click ์—์„œ๋„ ๊ฐ€๋Šฅํ•˜๋‹ค.
image






4. inpufield

content Type ์œผ๋กœ ์ž…๋ ฅ๊ฐ’ ๋ฌด์—ˆ์œผ๋กœ ํ•  ์ง€ ๊ฐ€๋Šฅ
image






5. Scoll View

GRID LAYOUT GROUP -> ์ •๋ ฌ
Content Size Filter -> perferred size ๋ถ€๋ชจ ํฌ๊ธฐ ์•ˆ์˜ ๋‚ด์šฉ์— ๋งž๊ฒŒ ์กฐ์ ˆ
image
image






์žก๋‹ด

project view ์— ํด๋” ์ •๋ ฌ ํ•ด์„œ ๊น”๋”ํ•˜๊ฒŒ ๋ณด๊ธฐ
01.Scene
02.Scripts




[Unity] Ui TOP


๐Ÿ“”

๋Œ“๊ธ€๋‚จ๊ธฐ๊ธฐ