CREATE YOUR WORLD
Players & Characters : Advance...

Side View Example

5min

์ด๊ฒƒ์€ ์‚ฌ์ด๋“œ ๋ทฐ ์ปจํŠธ๋กค ์„ค์ •์˜ ์˜ˆ์ž…๋‹ˆ๋‹ค.

Document image
๏ปฟ

๏ปฟ

1๋‹จ๊ณ„ : ์นด๋ฉ”๋ผ ๋ทฐ ์„ค์ •

์นด๋ฉ”๋ผ๋ฅผ ์‚ฌ์ด๋“œ ๋ทฐ๋กœ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค. (์ด๊ฒƒ์€ ์˜ˆ์‹œ์ด๋ฏ€๋กœ, ํ”„๋กœ์ ํŠธ์— ๋งž๊ฒŒ ์นด๋ฉ”๋ผ ์„ค์ •์„ ์ˆ˜์ •ํ•ด ์ฃผ์„ธ์š”.)

์ด ์‹œ์ ์—์„œ ์นด๋ฉ”๋ผ์˜ ํƒœ๊ทธ๋Š” MainCamara๋กœ ์„ค์ •๋˜์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

Document image
๏ปฟ

๏ปฟ

2๋‹จ๊ณ„ : InputAction ์„ค์ •

์‚ฌ์ด๋“œ ๋ทฐ์— ๋งž๋Š” ์ƒˆ๋กœ์šด InputAction์„ ์ •์˜ํ•จ์œผ๋กœ์จ, ํ„ฐ์น˜ ์Šคํฌ๋ฆฐ์„ ํ†ตํ•ด ์บ๋ฆญํ„ฐ์˜ ์›€์ง์ž„์„ ์ œ์–ดํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Create > Input Actions๋ฅผ ์„ ํƒํ•˜๊ณ  ํŒŒ์ผ ์ด๋ฆ„์„ SideView Actions๋กœ ์ง€์ •ํ•ฉ๋‹ˆ๋‹ค.

  • ์ด๋™
    • ์•ก์…˜ ์œ ํ˜• : ํ†ต๊ณผ
  • ์ด๋™ ํŠธ๋ฆฌ๊ฑฐ
    • ์•ก์…˜ ์œ ํ˜• : ๋ฒ„ํŠผ
Document image
๏ปฟ

๏ปฟ

๊ณ„์ธต ๊ตฌ์กฐ ๋งŒ๋“ค๊ธฐ > ๋นˆ ๊ฐ์ฒด ๋งŒ๋“ค๊ธฐ๋ฅผ ์„ ํƒํ•˜๊ณ  ์ด๋ฆ„์„ SideView Controller๋กœ ๋ณ€๊ฒฝํ•ฉ๋‹ˆ๋‹ค.

SideViewController ๊ฐ์ฒด์—์„œ ๊ตฌ์„ฑ ์š”์†Œ ์ถ”๊ฐ€๋ฅผ ์„ ํƒํ•˜๊ณ  ํ”Œ๋ ˆ์ด์–ด ์ž…๋ ฅ์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

Document image
๏ปฟ

๏ปฟ

๋ฐฉ๊ธˆ ์ƒ์„ฑํ•œ SideView Actions๋ฅผ Actions ๋ชฉ๋ก์— ๋“œ๋ž˜๊ทธํ•˜์—ฌ ์—ฐ๊ฒฐํ•˜์„ธ์š”.

Behavoir๋ฅผ Unity Events๋ฅผ ํ˜ธ์ถœํ•˜๋„๋ก ๋ณ€๊ฒฝํ•˜์„ธ์š”.

Document image
๏ปฟ

๏ปฟ

3๋‹จ๊ณ„ : ์Šคํฌ๋ฆฝํŒ…

ZEPETO ์บ๋ฆญํ„ฐ๊ฐ€ ์ขŒ์šฐ๋กœ ์ด๋™ํ•˜๋„๋ก ์ œ์–ดํ•˜๋Š” ์Šคํฌ๋ฆฝํŠธ๋ฅผ ๋งŒ๋“ค๊ณ , ์นด๋ฉ”๋ผ๊ฐ€ ๋”ฐ๋ผ๊ฐ€๊ฒŒ ํ•˜์„ธ์š”.

์ƒ์„ฑ > ZEPETO > TypeScript๋ฅผ ์„ ํƒํ•˜๊ณ  ์ด๋ฆ„์„ SideView Controller๋กœ ๋ณ€๊ฒฝํ•ฉ๋‹ˆ๋‹ค.

์Šคํฌ๋ฆฝํŠธ๋ฅผ SideViewController ๊ฐ์ฒด์— ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

TypeScript
๏ปฟ

๏ปฟ

์นด๋ฉ”๋ผ๋ฅผ ์‹คํ–‰ํ•˜๊ธฐ ์ „์— ๊ฒ€์‚ฌ๊ธฐ์—์„œ ์„ค์ •ํ•ด ์ฃผ์„ธ์š”.

Document image
๏ปฟ

๏ปฟ