F
F
fanot2018-03-19 14:46:29
C++ / C#
fanot, 2018-03-19 14:46:29

Where can I learn how to write this or that command in Unity?

Hello.
I am a beginner programmer and I want to create my first game - a 2d platformer.
In principle, programming in C# is very easy and convenient, and the unit itself is conveniently arranged,
BUT! I, like, probably, many, have such a problem very often that I imagine how I would write code in a human language, but not in C#.
I just don't know how it's written in C#.
Such situations are very common, and it is rare to find an explanation - how, for example, to make an enemy.
Asking every time on the forum is very inconvenient.
What will you advice me?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
Alexander Simonov, 2018-03-19
@fanot

Well, I will be one of the few who will support you, because people obviously already have more than a dozen years behind their shoulders) and they may not understand the fact that you can google not only about some very complex things, but also about syntax for example) Set yourself a studio, if you suddenly have some kind of monoDeveloper and if you are not sure about some features of the language, then you can run C # Interactive there. This is such a thing in which it will be possible to experiment.
Just write anything and it will be executed for you on the console, read it and sort it out. good luck in your endeavors

S
sim3x, 2018-03-19
@sim3x

What will you advice me?
learn to use search engines
learn to formalize your Wishlist
learn to formalize your Wishlist in terms of a search engine

G
GavriKos, 2018-03-19
@GavriKos

I, like many, probably, have such a problem very often that I imagine how I would write code in human language, but not in C#

No, programmers do not have such a problem. Learn to algorithmize.
I advise you to start with simpler tasks. Well, at the same time go through a dozen or two lessons both in unity and sharp. But strictly - with a separate heap of practice.

P
Peter, 2018-03-19
@Morpheus_God

Council one. Learn syntax, google, ask. There is only one thing, you will get help faster if you try to do something yourself.
And yes, something simpler as you wrote in the comments cannot be. Programming is one of the areas of knowledge where changes are constantly taking place. And this is good. So the industry is alive and growing. So get ready :)

K
Konstantin Tsvetkov, 2018-03-19
@tsklab

What will you advice me?
It is convenient to sit in a chair and wait for other programmers to make you comfortable in human language with a stream of consciousness.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question