Unity/Else

Unity VScode Debugging

๐ŸŸฆ Unity VScode Debugging

visual studio์™€ ๋‹ฌ๋ฆฌ ๋””๋ฒ„๊น…์„ ์œ„ํ•ด์„œ๋Š” extention๊ณผ ์„ค์ •์„ ํ•ด์ฃผ์–ด์•ผ ํ•œ๋‹ค.

 

 

๐ŸŸง Settings

- C#, Debugger for Unity, Unity Tools 3๊ฐ€์ง€๋ฅผ ๋‹ค์šด๋ฐ›๋Š”๋‹ค.

 

 

 

- ์™ผ์ชฝ์— ๋ฒŒ๋ ˆ๋ชจ์–‘ ์•„์ด์ฝ˜์„ ํด๋ฆญํ•œ๋‹ค.

 

 

 

- create a launch.json file ํด๋ฆญ

 

 

 

- Unity Debugger ํด๋ฆญ

 

 

 

๋”๋ณด๊ธฐ
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Unity Editor",
            "type": "unity",
            "path": "์œ„์น˜/Library/EditorInstance.json",
            "request": "launch"
        },
        {
            "name": "Windows Player",
            "type": "unity",
            "request": "launch"
        },
        {
            "name": "OSX Player",
            "type": "unity",
            "request": "launch"
        },
        {
            "name": "Linux Player",
            "type": "unity",
            "request": "launch"
        },
        {
            "name": "iOS Player",
            "type": "unity",
            "request": "launch"
        },
        {
            "name": "Android Player",
            "type": "unity",
            "request": "launch"
        },
        {
            "name": "Xbox One Player",
            "type": "unity",
            "request": "launch"
        },
        {
            "name": "PS4 Player",
            "type": "unity",
            "request": "launch"
        },
        {
            "name": "SwitchPlayer",
            "type": "unity",
            "request": "launch"
        }
    ]
}

- Unity Debbuger๊ฐ€ ๋œจ์ง€ ์•Š๋Š” ๊ฒฝ์šฐ๋„ ์žˆ๋‹ค.

- ๊ทธ๋Ÿด ๋•Œ๋Š” .NET Core๋ฅผ ์„ ํƒํ•œ ๋’ค .vscode ์•„๋ž˜์— ์ƒ๊ธด launch.json ํŒŒ์ผ์— ์œ„ ์ฝ”๋“œ๋ฅผ ๋ถ™์—ฌ๋„ฃ๋Š”๋‹ค.

 

 

 

- ์›ํ•˜๋Š” ์œ„์น˜์— break point๋ฅผ ๊ฑธ๊ณ 

 

 

 

- ํ”Œ๋ ˆ์ด ๋ฒ„ํŠผ ํด๋ฆญํ•œ ํ›„ ์œ ๋‹ˆํ‹ฐ์—์„œ๋„ ํ”Œ๋ ˆ์ด๋ฅผ ํ•˜๋ฉด break point์—์„œ ๋ฉˆ์ถ˜๋‹ค.

'Unity > Else' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

์œ ๋‹ˆํ‹ฐ ๋ฒ„ํŠผ ์ƒ‰์ƒ ๋ฆฌ์…‹  (0) 2022.06.30
๋ ˆ์ด์•„์›ƒ ์žฌ์ •๋ ฌ  (0) 2022.05.27
Animation Rigging  (0) 2022.04.01
Unity Asset Bundle  (0) 2021.12.19
AudioMixer  (0) 2021.10.31