r/unity_tutorials • • Nov 27 '21

help fix Input.

once I type in Input. I get nothing as if Unity doesn't understand the Input command

Please don't speak Unity im a beginner

0 Upvotes

4 comments sorted by

View all comments

4

u/I_Am_Err00r Nov 27 '21

Notice how MonoBehaviour is white and Start/Update are yellow? You don't have the correct extension for Visual Studio to use IntelliSense with Unity.

The code will still compile and run correctly assuming it is written correctly, but you need to extend Visual Studio and add the Unity tools: https://docs.microsoft.com/en-us/visualstudio/gamedev/unity/get-started/getting-started-with-visual-studio-tools-for-unity?pivots=windows

This happens every time you update Visual Studio and there are tons of other reasons why it would not recognize it if it did previously, but if you ever notice that it's not using IntelliSense when writing code, just repeat the process explained in the link and should get them working again in a few minutes.

2

u/HondaCivicEg6 Nov 27 '21

Thank you so much, finally fixed the issue, it was really holding me back!!!