+ 1
I am confusing about c# in unity and what i learn in sololearn.
Some functions are written differently in solo learn and in unity. Which one should I follow, guys?
2 Respuestas
+ 2
You can't learn c# for unity in sololearn. But you can just learn the basics,structure of c#.To learn unity scripting, watch tutorials in their official website or in youtube.
+ 2
I disagree. C# Sololearns course is fine for Unity.
The functions are the same, the only difference is that you have no main method since Unity deals with that internally. You are also mostly going to be dealing with Object instances so you may not use static as often.
There are also some functions that have pre-defined meanings like 'Update()' and 'Start()' that you would need to be familiar with.
Understanding the basics comes in handy. Its one thing to memorize code, but with a strong understanding this change in environment won't be an issue.
I think you can keep learning the C# course here for basics. And of course, Unity tutorials are always great. Can't beat their official documentation.