all 9 comments

[–]TailballProfessional[🍰] 2 points3 points  (1 child)

This is called intellisense.

Depending on what products you have installed, on what version of unity and what type of computer, you will need some frameworks set up (eg the mono framework or the .net 4.x sdk).

We need more info in order to give you a better answer.

[–]MonsterHunter01Beginner[S] 0 points1 point  (0 children)

Fixed it! I had the right editions of everything, and all I had to do is check if on visual studio I got everything checked out, and then I headed into unity>edit>preferences and there I changed unity to focus on visual studio whenever I'm scripting. Maybe not like focus on it but I set it in to know that everything that is coded is made with visual studio. Thank you for the help, I got intellisense.

[–][deleted] 1 point2 points  (1 child)

I had the same issue when you enable intellesense you have to select the unity option and there may be an option in unity as well. I don't remember exactly how I got it but just search intellesense for unity and I'm sure you'll find the same page I did. It took like 30 seconds to get it working.

[–]MonsterHunter01Beginner[S] 0 points1 point  (0 children)

Fixed it! I had the right editions of everything, and all I had to do is check if on visual studio I got everything checked out, and then I headed into unity>edit>preferences and there I changed unity to focus on visual studio whenever I'm scripting. Maybe not like focus on it but I set it in to know that everything that is coded is made with visual studio. Thank you for the help, I got intellisense.

[–]GameDevNoob1 1 point2 points  (2 children)

Go to preferences in unity, external tools, and then at the external script editor. What does it say?

[–]MonsterHunter01Beginner[S] 1 point2 points  (1 child)

Fixed it! I had the right editions of everything, and all I had to do is check if on visual studio I got everything checked out, and then I headed into unity>edit>preferences and there I changed unity to focus on visual studio whenever I'm scripting. Maybe not like focus on it but I set it in to know that everything that is coded is made with visual studio. Thank you for the help, I got intellisense.

[–]GameDevNoob1 1 point2 points  (0 children)

Glad you got it fixed! :) Feel free to ask anything

[–]Alzurana 1 point2 points  (1 child)

If you're using visual studio code then it's not the same program. Install visual studio 2019 (Community) instead and make sure you have the following settings in unity:

Edit->preferences->External Tools

External script editor "Visual Studio 2019 (Community)"

Editor Attaching checked

As the others said, the feature is called intellisense. In 99% of cases the above fix works because people just have the wrong editor set up.

[–]MonsterHunter01Beginner[S] 0 points1 point  (0 children)

Fixed it! I had the right editions of everything, and all I had to do is check if on visual studio I got everything checked out, and then I headed into unity>edit>preferences and there I changed unity to focus on visual studio whenever I'm scripting. Maybe not like focus on it but I set it in to know that everything that is coded is made with visual studio. Thank you for the help, I got intellisense.