Answer the question
In order to leave comments, you need to log in
Where can I find good C# tutorials for Unity 2D?
Hello!
I would like to understand the C# language (I tried to start a lot of books - they are not very efficient and understandable) so that I can use what I learned in Unity 2D.
No, not a platformer. A story-driven game about creating games, like Game Dev Tycoon.
So far, a little is required - a clear instruction on how to receive data from input fields, how to activate something by clicking, how to make sliders for characteristics and text output.
Everything that I read began with arrays and variables and ended with an analysis of incomprehensible examples. How this will help with the game is not clear. I have already started C++ and know CSS/HTML relatively well. C# did not see anything more complicated and not clearer.
I hope I didn't get confused.
Answer the question
In order to leave comments, you need to log in
Smoke tutorials and manuals from off site and forums, copy code from them, parse every word and character in the code. If you view all the videos from the off site in this way, you can safely write any scripts in the unit.
The other way is the right way. Break your task into many small subtasks. Look for the code for each subtask. Break it down into words and signs. Look for an explanation for all of them. Each subtask will provide a base for the next one. In this way, you will learn part of the unit sharp as efficiently as possible.
In advance, I will give an answer to the most important question of Unity 3D:
public GameObject otherClass;
void Start(){
otherClass.otherVar=5;}
ps
The unit uses a component model
First learn C# from books:
1. https://www.piter.com/product/unity-v-deystvii-mul...
2. https://www.piter.com/collection/yazyk-programmiro...
Then, proceed to Unity:
3. https://gcup.ru/forum/8-46855-1
4. null-code.ru
I would like to understand the C# language (I tried to start a lot of books - they are not very efficient and understandable) so that I can use what I learned in Unity 2D.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question