Search Unity

  1. If you have experience with import & exporting custom (.unitypackage) packages, please help complete a survey (open until May 15, 2024).
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice

Question Need Help In Visual Studio

Discussion in 'Scripting' started by CodexMan, Apr 9, 2022.

  1. CodexMan

    CodexMan

    Joined:
    Apr 7, 2022
    Posts:
    6
    Greetings! Codexman this side. I have been following a Unity tutorial on active stickman ragdoll. Here is the link-https://www.youtube.com/watch?v=uVtDyPmorA0
    Around 6:20 She adds a for loop by selecting length and typing for then double tapping the tab button but when I perform this, It just skips spaces after pressing tab. I have checked this multiple times to see if there is any error in the code but everything seems fine. Please advise me how to do it? The main concern is about the for loop. If you want the code, just reply me and I will give it to you.
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,915
    This may help you with intellisense and possibly other Visual Studio integration problems:

    Sometimes the fix is as simple as doing Assets -> Open C# Project from Unity. Other times it requires more.

    Other times it requires you also nuke the userprefs and .vsconfig and other crufty low-value high-hassle files that Visual Studio tends to slowly damage over time, then try the above trick.

    Barring all that, move on to other ideas:

    https://forum.unity.com/threads/intellisense-not-working-with-visual-studio-fix.836599/

    Also, try update the VSCode package inside of Unity: Window -> Package Manager -> Search for Visual Studio Code Editor -> Press the Update button

    Also, this: https://forum.unity.com/threads/no-suggestions-in-vscode.955197/#post-6227874
     
  3. CodexMan

    CodexMan

    Joined:
    Apr 7, 2022
    Posts:
    6
    Hello! I will try the methods you have given me. I will be busy for some days. Will reach to you later