Assets/Resources/textures/texture.png ->textures/texture.png
๋ฌธ์์ด ํจ์ ์์ฐ๊ณ ๊น๊ธํ๊ฒ ํ๊ณ ์ถ์๋ฐ ์ด๋ ๊ฒ ๋ฐ๊ฟ์ฃผ๋ ํจ์๊ฐ ์๋์?
Assets/Resources/textures/texture.png ->textures/texture.png
๋ฌธ์์ด ํจ์ ์์ฐ๊ณ ๊น๊ธํ๊ฒ ํ๊ณ ์ถ์๋ฐ ์ด๋ ๊ฒ ๋ฐ๊ฟ์ฃผ๋ ํจ์๊ฐ ์๋์?
์๊ธดํ๋ฐ, string GetPath(string fileName) {return Path.Combine("Assets/Resources"", fileName);}๊ฐ์ด ์์ฃผ์ฐ๋ ๊ฒฝ๋ก ์กฐํฉ์ ํจ์ ๋ง๋ค์ด ์ฐ๋ฉด ๋จ