How do I program/code in Unity?

I don’t know what I’m doing. Do I need another program to code with unity? In every demo I watch they always open something else to start programing. Is this required…or does Unity also have another coding program that works in unison. Idk

I just need someone to tell me what I need to get started. These tutorials are not very good at explaining the very basics.

Follow the Roll-a-ball tutorial. It includes a brief coding portion.

Has a ton of tutorials too

1 Like

thanks

Use need to use some kind of editor to write the code. You can use something as simple as Notepad, Notepad++, Sublime or use a proper tool like Visual Studio or MonoDevelop since they have code completion and nice error checking.

2 Likes

I often use Microsoft Notepad for programming when I feel like experiencing a complete mental breakdown when looking at 5,000 lines of code trying to find the bug.

1 Like

How very sadist

1 Like

I prefer Visual Studio. I am not in favor of how mono colors the syntax and use this auto corrected style

public class Test {
}

instead of

public class Test
{

}

But Mono asks the coder where he wants to add methods from interfaces.

For what it’s worth, I do all my coding right within Unity, using the (too-modestly named) Script Inspector 3 plugin. I love it. It’s lightning fast, has smart autocomplete, contextual menus to the Unity reference or referenced code, and much more. Plus the author ( @Flipbookee ) is active on these forums and an all around swell guy whose support for his plugin is without peer.

If you’re using anything else to write Unity code, I weep for you. Get Si3, it will change your life. :smile:

3 Likes

You need to download Visual Studio Community Edition (free).