- Home /
Duplicate Question
How can i learn scripting?
I started with learning Python to get the basics of program$$anonymous$$g.
Well, if you want to be a good programmer eventually and starting up from scratch, I'd advice to read Pro C# and the .NET Framework by Andrew Troelsen. I had read this years ago. This book is not too deep to become a top professional (like "CLR via C#", which can bake unprepared brains :D), but for the start this will be the best
This Q has been asked many times. Search for "unity learn scripting" (or program$$anonymous$$g) and read all the advice everyone has ever given.
(This Q should have been rejected, since there are so many answers already.)
Answer by ethestel · Apr 06, 2015 at 03:48 PM
Hello Johnz,
Unity has great scripting tutorials which are targeted for absolute beginners, why not take a look at them?
Answer by Cherno · Apr 06, 2015 at 03:48 PM
Think about a simple game or application you would like to make. Think about the elements that are needed to make it work (input, movement, camera control etc.). Search for tutorials and scritps that do things similar to what you need, and customize them after working out what they do and how. This is how I started, kind of a into-the-blue approach but it will make you take the first few steps in a limited environment. Be sure to read up on basics like variable declaration, functions, Coroutines, Arrays and collections etc. while you are at it.
Answer by Mykel Williams · Apr 06, 2015 at 03:48 PM
the best way that i have found is follow some unity tutorials and follow what they do, and comment the crap put of everything so you know what it does and how it relates, then once you have made a basic game think, how can i make this game better or what things can i do to change things up. then research it up and if you have a script and questions on how to do generally post it up and see if you get any answers back. have a look at these tutorials http://unity3d.com/learn
Answer by 237641 · Apr 06, 2015 at 03:40 PM
Read scripting books, watch video tutorials on the Unity site.
Answer by koriley · Apr 07, 2015 at 09:49 AM
Go here: http://unity3d.com/learn/tutorials/modules/beginner/scripting start at one and work till the end.
when something doesn't make sense, google it, and don't trust the first thing google brings up, keep reading till you under stand..
C# and Javascript are well documented around the web, and a lot of the best practices you will learn there are usable in unity.
Create a new project, and write scripts, fail and fail a lot, but don't get discouraged, take the errors and try to understand them, ask questions about them, google them.
Remember, at its root, scripting is logic, so think logical about your day to day activities, if(i do this){ this will happen;} can be applied to everything you do all day long.
Happy Coding, Good luck, Kevin
Follow this Question
Related Questions
What is Mono? Is it a compiler? A language? Or what? 3 Answers
What is Vector3, Vector4, etc.? 2 Answers
Does Unity support multiple Inheritance? 3 Answers
Player kill enemy by stepping on it. 2 Answers