R
R
Roman2017-08-13 22:59:07
JavaScript
Roman, 2017-08-13 22:59:07

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

3 answer(s)
G
Griboks, 2017-08-14
@ananas_roma

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

X
xmoonlight, 2017-08-13
@xmoonlight

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

A
Amfore, 2017-08-13
@Amfore

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.

In vain, of course, you argue so. Before taking on Unity, it is desirable to know at least 50% C#. The better you master it, the easier it will be.
A permanent code copyright will not lead to good. You must understand what code you insert and what is written in it.
Suitable tutorials, oddly enough, are offline. site.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question