getComponentInChildren<>() ์ด๊ฑฐ๋
ย getchild(0).getComponent ์ด๊ฑฐ๋ ๊ฐ์๊ฑฐ?
์์๋ ํ์ฑํ๋ ์์ ์ค๋ธ์ ํธ์ค ๊ฐ์ฅ ๋น ๋ฅธ๊ฑฐ, ์๋๋ 0๋ฒ์งธ ์์ ์ค๋ธ์ ํธ. ์ด๋ฐ๊ฑด ๊ฒ์ ์ข ํด๋ด๋ผ. ๋ฐ๋ก ๋์ค๋๊ตฌ๋ง.
์์๋ ํ์ฑํ๋ ์์ ์ค๋ธ์ ํธ์ค ๊ฐ์ฅ ๋น ๋ฅธ๊ฑฐ, ์๋๋ 0๋ฒ์งธ ์์ ์ค๋ธ์ ํธ. ์ด๋ฐ๊ฑด ๊ฒ์ ์ข ํด๋ด๋ผ. ๋ฐ๋ก ๋์ค๋๊ตฌ๋ง.