Hey. I have recently started to learn unity. I am following a video tutorials and learning about creating a script and assigning it to an item. I have created a C sharp script and a material using Assets->Create option. Could someone tell me why does it not show up under The assets near the Scenes?
I can see these assets in my folder :
I have tried to reimport but the script and new material still does not show up there
That mini view of the project is just for navigating the folders in your project. It only shows folders. Don’t worry, your assets are fine.
Hey @zazas321 ,
The reason why you’re not seeing your assets on the left side of the “Project” panel is because is currently on the “Two column layout”.
As @PraetorBlue mentioned, the left section of such layout only shows folders.
If you want to see your material and your script on the same file hierarchy, you need to change the layout to “One column layout” by right-clicking on the tab title (Project) and select the option from the menu that will appear on top.
You can find more information about it here: Unity - Manual: The Project window
Happy learning!
Thank you very much guys! Also, can I ask another question out of a slightly different topic. When I watch videos about making scripts for unity, whenever some type some commands, the visual studio automatically tells them what members of structure or a class (not sure how its called) are available.
For example: ( picture taken from a tutorial video)
When he types KeyCode. , the program immediately gives him options to choose from. However, I cannot see that when I write my own script:
Also, sometimes it gives me some weird options:
When I start typing Input, it does not come as an option, instead, it gives me User_input. Am I doing something wrong here?
Your IntelliSense is not working… You could try some suggestions from this thread, maybe they will work for you: Intellisense Not Working with Visual Studio (Fix)
I have tried a few things:
1.Downgraded unity version from 2020.1.2f1 to 2019.4.8f1
- Edit->Preferences->External tools
Also tried to regenerate project files
- Download Visual studio 2019 tools for unity
Am I missing some extensions?