how to find the c# file inside >add conponents>scripts

i’m new to unity , when i create c# file and go to “add components” and then go to “script” i should find my c# file there but for some reason its not , how to fix this…?

Each Component is a script, for example Rigidbody is also a script. So it makes no sense searching for scripts, because everything is a script. Rather try searching for the name of the script or just drag it in from the Inspector.

thanks you are right i had some problem with my script tho and fixed it .