Why this happen | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why this happen

I download this because I was starting with unity, but the orders are diferent, why?

14th Jul 2016, 6:24 AM
carlospercevallol
carlospercevallol - avatar
3 Answers
+ 1
the difference is that when you use static void main here is because that is the entry point of the application as you are making an entirely new application, however as for Unity, it already has its main method somewhere hidden in the program, but what you are programming is just like adding components to it, you don't get to make the method for main because it wouldn't access it as the application entry point.
14th Jul 2016, 12:09 PM
Nikorasu Chan (Nichii)
Nikorasu Chan (Nichii) - avatar
0
If I assume by order you mean the order of how Unity structured their tutorial compared to sololearn is that sololearn is geared towards software programming, while Unity will put the most important thing about games development at the front first
14th Jul 2016, 8:17 AM
Nikorasu Chan (Nichii)
Nikorasu Chan (Nichii) - avatar
0
No, I mean that the start order in unity have the Word start, but here it is something like Static void.Main, and im confused, cause i dont know if it is important or not.
14th Jul 2016, 9:06 AM
carlospercevallol
carlospercevallol - avatar