how do i put scripts from visual studio into unity game maker,how can i get script from visual studios to unity

like lets say i make a script in visual studio and i want to put it into unity for a game how would i do that?,like lets say i make a script in visual studios c# and i want to put it into unity how do i do that?

Just import it as an asset

1: Right Click in the Unity Project Window in a folder of your choosing.

2: Create>C# Script

3: Name your Script

4: Double click it to open it in Visual Studio.

or, if it’s a valid C# script you got elsewhere online or something, just drag and drop it into the unity project window into a folder of your choosing.