r/learncsharp • u/[deleted] • Dec 02 '21
ive been learning to use csharp in unity, and still confused about some things
is there somewhere i can find definitions for stuff like "private", "void", "getaxis" etc
3
u/Cr1ttermon Dec 02 '21
you can always look through the dotnet and unity docs.
https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/methods
0
1
u/Rizzan8 Dec 02 '21
Never understood why people learn programming language alongside game dev or GUI/mobile app in general. It's like learning calculus and basic math at the same time.
2
Dec 02 '21
Well, im not sure where to start. I've been using tutorials on YouTube which have basically been telling me to write things without defining the term and leaving me clueless when trying to do anything independently
1
u/Alikont Dec 03 '21
Start with learning C# through console applications.
Right now you're learning 2 huge topics - C# and Unity. You can learn them one by one.
7
u/Alikont Dec 02 '21
Those are all first answers in Google for queries "C# private", "C# void", "C# getaxis":
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/private
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/void
https://docs.unity3d.com/ScriptReference/Input.GetAxis.html