์๋ฌธ : https://gall.dcinside.com/mgallery/board/view/?id=game_dev&no=28980&page=1
๋ค๋ฅธ ์ง๋ฌธ๊ธ : https://stackoverflow.com/questions/55296300/i-have-a-question-about-the-error-that-occurs-when-i-add-a-generic-based-class-t
Singleton์์ _Instance์ AddComponent() ๋ฅผ ํ ๋ ์ต์์ ๋ถ๋ชจ ํด๋์ค๋ฅผ ์ฐธ์กฐํ๋๊ฒ ์๋
PoolingManagerBaseย ๋ฅผ ๋ฐ๋ก ์ฐธ์กฐํด์ ๋ฌธ์ ๊ฐ ์๊ธด๊ฑฐ์๋ค์..
PoolingManagerBase๋ ์ ๋ค๋ฆญ ๊ธฐ๋ฐ์ด๊ณ ์ ๋ํฐ์์ ์ ๋ค๋ฆญ ๊ธฐ๋ฐ ์ปดํฌ๋ํธ๋ ์ง์ํ์ง ์์ผ๋
AddComponent(System.Type)์ ํํ๋ก ์ฌ์ฉํด์ผ ์๋ํ ๋๋ก ๋์ํ์ด์
๋ฐ๋ Singleton ํด๋์ค์ ์ฝ๋๋ ์๋์ฒ๋ผ ์ ์์ต๋๋ค
์ฑ๊ธํค์ Instance ์ฐธ์กฐ ์ ์ Create(typeof(T))๋ฅผ ๋จผ์ ์จ์ผํ๋ ๋ฒ๊ฑฐ๋ก์์ด ์์ง๋ง
๊ฒฐ๊ณผ์ ์ผ๋ก ๋ฌธ์ ๋ ํด๊ฒฐ ๋์์ด์!
ใ ใ