Game unitActionButton = Instantiate(actionButtonPrefab, UIWindow);

๋‚˜์ค‘์— ๋‹ค๋ฅธ ์บ๋ฆญํ„ฐ๊ฐ€ ์ฐจ๋ก€๋ฅผ ๋ฐ›์œผ๋ฉด ์œ„์— ๋งŒ๋“  ์˜ค๋ธŒ์ ํŠธ destroy( )ํ•˜๊ณ  ์œ„์™€ ๊ฐ™์€ ํ˜•์‹์œผ๋กœ ์ƒˆ๋กœ ๋งŒ๋“ค๊ธฐ

์ด๊ฑฐ๋ง๊ณ ๋Š” ๋” ์ƒ๊ฐํ•  ์Šˆ ์—„๋”ฐ...