๊ฐ
public component GetComponent(dhfjkdd){
ย ย ย ย ย ย ย ย return gameobject.GetComponent();
}
์ด๋ฐ์์ผ๋ก ์๊ฒจ๋จน์๊ฑฐ ๋ง์?
์พ๋ํฐ ์ฒ์๋ฐฐ์์ใ
Raycasthit.transform.getcomponent()
์ด๊ฒ ๋์๊ฐ๋ ์ด์ ๊ฐ ๊ทธ์ชฝ์ผ๊ฒ๊ฐ์๋
public component GetComponent(dhfjkdd){
ย ย ย ย ย ย ย ย return gameobject.GetComponent();
}
์ด๋ฐ์์ผ๋ก ์๊ฒจ๋จน์๊ฑฐ ๋ง์?
์พ๋ํฐ ์ฒ์๋ฐฐ์์ใ
Raycasthit.transform.getcomponent()
์ด๊ฒ ๋์๊ฐ๋ ์ด์ ๊ฐ ๊ทธ์ชฝ์ผ๊ฒ๊ฐ์๋
๋งค์งํจ์์ - dc App
Stub์ผ๋ก ๊ฐ๋ ค์ง ๋ถ๋ถ์์ ์ค์ ์ธ์คํํฐ๊ฐ ๋ฌผ๊ณ ์๋ ์ปดํฌ๋ํธ๊ฐ ๋ฆฌ์คํธ๋ก ๋ ํผ๋ฐ์ค๋์ ์์ฐจํ์ํด์ ์ฃผ๋๊ฑฐ - dc App
์น stub๋ ๋จธ์ง ์จ์ต์ ์์ง ์ํด์ใ