Mac ์ ๋ํฐ-VSCode ์ฐ๋ ์ค์ (M2 pro)
๋งฅ๋ถ ๊ตฌ๋งค ๊ธฐ๋ ์ผ๋ก ์ปดํจํฐ๋ฅผ ์ธํ ํ๋ ์ค ide๋ฅผ ๋ญ ์ฌ์ฉํ ๊น ํ๋ค๊ฐ VSCode๋ฅผ ์ฐ๊ธฐ๋ก ํ๋ค.
VS CODE ์ฐ๊ฒฐํ๊ธฐ
1. mono stable ๋ฒ์ ์ ๋ค์ด๋ก๋ ํด์ค๋ค.
https://www.mono-project.com/download/stable/
2. ๋ท๋ท ๋ค์ด๋ก๋
https://dotnet.microsoft.com/en-us/download
3. Visual Studio Code ์ค์น
https://code.visualstudio.com/
4. Unity / [Preference] > [External Tools]
์ ๋ํฐ์์ ํ๋ก์ ํธ ์๋ฌด๊ฑฐ๋ ์คํํด์ [Preference] > [External Tools] ์ ๋ค์ด๊ฐ๋ค .
[External Script Editor] ์ ๋๋ฌ Visual Studio Code๋ฅผ ์ ํํด์ค๋ค.
๋ง์ฝ ์ฝค๋ณด๋ฐ์ค ์์ Visual Studio Code๊ฐ ์๋ค๋ฉด [Browse...]๋ฅผ ๋๋ฌ ์ง์ ์ฐพ์์ ์ฐ๊ฒฐํด์ฃผ๋ฉด ๋๋ค.
5. ํ๋ก์ ํธ์์ ์คํฌ๋ฆฝํธ๋ฅผ ์ด์ด๋ณด๊ธฐ
6. VS Code > [Extensions]
extension์์ C#์ ๊ฒ์ํด ์ค์นํด์ค๋ค.
์ด ์ธ์๋ unity code snippets, unity snippets ๋ฑ์ ์ค์นํด์คฌ๋ค.
7. [Preferences] > [Settings] > [Omnisharp modern]
[Preferneces]์์ Omnisharp modern ์ค์ ์ ํด์ ํด์ค๋ค.
ํด์ ํ์ผ๋ฉด ๋ฐ์ ๋ฌ ๋๋ก (Restart OmniSharp) ์ฌ์์์ ํด์ค๋ค.
8. Unity / [Preferences] > [External tools]
๋ค์ ์ ๋ํฐ์ [Preferences] ๋ก ๋์์์ [External tools]์ generate project files๋ฅผ ํด์ค๋ค,
๊ทธ๋ฌ๋ฉด csproj๊ฐ ์ฌ์์ฑ๋๋ค.
๋-
์ฐธ๊ณ ์ถ์ฒ ;
https://youtu.be/3GVGyooZ8jk ( Set up Visual Studio Code with UNITY, MAC, and INTELLISENSE WORKING 2023)
'๐โ๏ธ(ใปโใป) > computer' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
์ค๋ ๋ ๋ฐ์ฐ (thread divergence) (1) | 2024.04.12 |
---|---|
SIMD๋? (Single Instruction Multiple Data) (1) | 2024.03.26 |
Mac VSCode-๋ท๋ท sdk ์ค๋ฅ๊ฐ ๋ฐ์ํ ๋ (The .NET Core SDK cannot be located) (0) | 2023.06.17 |