void start
{
Obj_BulletGenerator = Resources.Load("Bullet.prefab") as GameObject;
("Assets/PreFab/Bullet.prefab"๋„ ๋„ฃ์–ด๋ด„)

}


๋ฅผ ํ–ˆ๊ณ 



// Obj_BulletGenerator ๋Š”
ํด๋ž˜์Šค ๋‚ด์— public GameObject Obj_BulletGenerator; ๋กœ ์„ ์–ธํ–ˆ์Œ์—๋„ ๋ถˆ๊ตฌํ•˜๊ณ 




๊ฒŒ์ž„ ์‹คํ–‰ํ•ด๋„ Obj_Bullet Generator ์— ํ•ญ๋ชฉ์ด ํ• ๋‹น์ด ์•ˆ๋˜๋„ค์š”.


๋“œ๋ž˜๊ทธ ๋“œ๋กญ์œผ๋กœ ํ•˜๋Š”๊ฒŒ ์•„๋‹Œ 'C#'์ฝ”๋“œ๋กœ ๋„ฃ๊ณ  ์‹ถ์–ด์š”.

ย