ํ™ˆ (3D RPG) ๋ชฌ์Šคํ„ฐ
ํฌ์ŠคํŠธ
์ทจ์†Œ

(3D RPG) ๋ชฌ์Šคํ„ฐ

๐Ÿ’ป MonsterController.cs

๋ชฌ์Šคํ„ฐ๋„ ์บ๋ฆญํ„ฐ๊ธฐ ๋•Œ๋ฌธ์— BaseController.cs๋ฅผ ์ƒ์†๋ฐ›๋Š”๋‹ค.

๋ชฌ์Šคํ„ฐ๊ฐ€ ํ”Œ๋ ˆ์ด์–ด๋ฅผ ๋”ฐ๋ผ๊ฐ€๋Š” ๋ฐฉ๋ฒ•์€ NavMeshAgent๋ฅผ ์‚ฌ์šฉํ–ˆ๋‹ค.

[ ๋ชฌ์Šคํ„ฐ ๊ธฐ๋Šฅ ]

  • ํ”Œ๋ ˆ์ด์–ด ๊ฐ์ง€ (Idle)
  • ํ”Œ๋ ˆ์ด์–ด ๋”ฐ๋ผ๊ฐ€๊ธฐ (Moving)
  • ํ”Œ๋ ˆ์ด์–ด ๊ณต๊ฒฉ (Attack)
  • ํ”ผ๊ฒฉ ๋‹นํ•˜๋ฉด (Hit)
  • ์ฃฝ์Œ (Die)


Item๊ด€๋ จ ๊ธฐ๋Šฅ์ด ๊ตฌํ˜„๋˜๋ฉด ์•„์ดํ…œ์„ ๋–จ์–ดํŠธ๋ฆฌ๊ณ , Gold์™€ Exp๋ฅผ ์ง€๊ธ‰ํ•œ๋‹ค.

๐ŸŽฌ ๊ตฌํ˜„ ์˜์ƒ

Monster

์ด ๊ธฐ์‚ฌ๋Š” ์ €์ž‘๊ถŒ์ž์˜ CC BY 4.0 ๋ผ์ด์„ผ์Šค๋ฅผ ๋”ฐ๋ฆ…๋‹ˆ๋‹ค.

(Unity) Slider NaN

(3D RPG) ์Šคํ‚ฌ