# Getting Started with Coding for Unity

**URL:** https://discussions.unity.com/t/getting-started-with-coding-for-unity/462240
**Category:** Unity Learn
**Created:** [December 1, 2011, 3:57pm UTC](https://discussions.unity.com/t/getting-started-with-coding-for-unity/462240 "2011-12-01T15:57:31Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Adam-Buckner\_1](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/adam-buckner_1/32/374478_2.png) [@Adam-Buckner\_1](https://discussions.unity.com/u/Adam-Buckner_1)
#### Post date: [December 1, 2011, 3:57pm UTC](https://discussions.unity.com/t/getting-started-with-coding-for-unity/462240/1 "2011-12-01T15:57:31Z")

</div>

**This is a sticky for links to resources that will help new users to get started coding with Unity.**  
**_[Please NOTE! This thread is not intended as a support or scripting thread for help with specific coding issues. Please use the [Support](http://forum.unity3d.com/forums/unity-support.10/) or [Scripting](http://forum.unity3d.com/forums/scripting.12/) sections for that.]_**  
**The first place to go, is the scripting topic in the Learn section of the Unity site:**

> **[Learn game development w/ Unity | Courses & tutorials in game design, VR,...](https://learn.unity.com/tutorials?k=%5B%22lang%3Aen%22%2C%22sl%3Abeginner%22%5D&ob=starts)**
>
> Free tutorials, courses, and guided pathways for mastering real-time 3D development skills to make video games, VR, AR, and more.

**_Then, if you want more, here are some additional resources for learning C#:_**  
[C-Sharp Station: Tutorials](http://www.csharp-station.com/Tutorials.aspx)  
[LearnCS.org - Interactive C# Tutorials](http://www.learncs.org/)  
[C# Fundamentals: Development for Absolute Beginners](https://channel9.msdn.com/Series/C-Sharp-Fundamentals-Development-for-Absolute-Beginners/)  
[C# for Beginners – Microsoft Virtual Academy](https://www.microsoftvirtualacademy.com/en-US/training-courses/c-fundamentals-for-absolute-beginners-8295?l=bifAqFYy_204984382)  
[C# Yellow Book](http://www.robmiles.com/c-yellow-book/)  
[Catlike Coding C# Tutorials](http://catlikecoding.com/unity/tutorials/)

**_ARCHIVED LINKS BELOW (I have not vetted these, and they could be stale):_**

**_Archived resources for learning CS:_**  
[Visual C-Sharp Tutorials: Introduction to programming](http://visualcsharptutorials.com/fundamentals/introduction-to-programming/)  
[C Sharp Fundamentals Development for Absolute Beginners](http://channel9.msdn.com/Series/C-Sharp-Fundamentals-Development-for-Absolute-Beginners/)  
[Catlikecoding: Unity Tutorials](http://catlikecoding.com/unity/tutorials/)  
[Unify Wiki: C-Sharp Tutorial](http://wiki.unity3d.com/index.php/CSharp_Unity_Tutorial)

**_Here are some resources for learning UnityScript (Unity’s “JavaScript”):_**  
[Unify Wiki: Programming](http://wiki.unity3d.com/index.php?title=Programming)  
[Unify Wiki: Head First into Unity with UnityScript](http://wiki.unity3d.com/index.php?title=Head_First_into_Unity_with_UnityScript)  
[Newbie guide to Unity Javascript (long)](http://forum.unity3d.com/threads/34015-Newbie-guide-to-Unity-Javascript-(long))

_([UnityScript.com](https://web.archive.org/web/20130727112026/http://www.unityscript.com/lessons1/basics.php): What was a very good site for the absolute beginner learning UnityScript, but now only [available thru the Internet Archives](https://web.archive.org/web/20130727112026/http://www.unityscript.com/lessons1/basics.php)… Sadly many images and the pdf is missing.)_

**_Here are some resources for learning language-independent concepts:_**  
[Which kind of array or collection should I use?](http://wiki.unity3d.com/index.php?title=Which_Kind_Of_Array_Or_Collection_Should_I_Use?)

_- This is not a thread to discuss the differences or advantages of one language over another. -_

---

<div class="post-metadata">

### Author: ![Nomad72](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/nomad72/32/246189_2.png) [@Nomad72](https://discussions.unity.com/u/Nomad72)
#### Post date: [December 1, 2011, 8:06pm UTC](https://discussions.unity.com/t/getting-started-with-coding-for-unity/462240/2 "2011-12-01T20:06:47Z")

</div>

The language-indepenent concepts list is one I’m going to be keeping a close eye on - that first link is really useful!

---

<div class="post-metadata">

### Author: ![Diviner](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/diviner/32/478043_2.png) [@Diviner](https://discussions.unity.com/u/Diviner)
#### Post date: [December 2, 2011, 12:50am UTC](https://discussions.unity.com/t/getting-started-with-coding-for-unity/462240/3 "2011-12-02T00:50:12Z")

</div>

You might want to add this to the links above :

> **[AI Horizon: Computer Science and Artificial Intelligence Programming Resources](https://www.aihorizon.com/index.htm)**
>
> Articles, source code, and other resources for beginners to Computer Science and Artificial Intelligence programming, from the basics of algorithms to neural networks.

It deals in AI development, something that every game dev will bump into at one point or another. And to avoid misconceptions, I am talking about AI, not Finite State Machine modules (like attacking, idling, fleeing, etc). People seem to confuse the two. This page deals in making the AI take strategic decisions and reach an outcome (like minmax Chess AI).

---

<div class="post-metadata">

### Author: ![Rush-Rage-Games](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/rush-rage-games/32/215430_2.png) [@Rush-Rage-Games](https://discussions.unity.com/u/Rush-Rage-Games)
#### Post date: [December 2, 2011, 6:29pm UTC](https://discussions.unity.com/t/getting-started-with-coding-for-unity/462240/4 "2011-12-02T18:29:05Z")

</div>

Good idea!

---

<div class="post-metadata">

### Author: ![anon\_83178645](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@anon\_83178645](https://discussions.unity.com/u/anon_83178645)
#### Post date: [May 16, 2012, 12:48am UTC](https://discussions.unity.com/t/getting-started-with-coding-for-unity/462240/5 "2012-05-16T00:48:11Z")

</div>

Thanks, Excellent tutorials!

---

<div class="post-metadata">

### Author: ![anon\_65414239](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@anon\_65414239](https://discussions.unity.com/u/anon_65414239)
#### Post date: [May 21, 2012, 10:53am UTC](https://discussions.unity.com/t/getting-started-with-coding-for-unity/462240/6 "2012-05-21T10:53:07Z")

</div>

Actually, there are so many resources (books, online tutorials, video courses, interactive tutoring) that I’m lost as to what the fastest way to absorb this (programming) knowledge is. If money is no issue, what’s the best/fastest way to get into Unity Scripting?

---

<div class="post-metadata">

### Author: ![anon\_10723334](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@anon\_10723334](https://discussions.unity.com/u/anon_10723334)
#### Post date: [May 22, 2012, 10:08pm UTC](https://discussions.unity.com/t/getting-started-with-coding-for-unity/462240/7 "2012-05-22T22:08:21Z")

</div>

> [@anon\_65414239](#):
>
> Actually, there are so many resources (books, online tutorials, video courses, interactive tutoring) that I’m lost as to what the fastest way to absorb this (programming) knowledge is. If money is no issue, what’s the best/fastest way to get into Unity Scripting?

I have the same concern right now. Since all of these resources tend to overlap in terms of what they actually teach, I choose to devote the time to one course or book at a time until I really absorb everything. Then I’ll begin another book. It’s a little disheartening at times, like I just finished a joes to pros book on c#. But c# used in unity seems to use slightly different terms and logic. But it’s still very familiar in terms of syntax. So I definitely don’t regret reading that book, because now the main thing for me to get familiar with is the scripting reference for unity.

---

<div class="post-metadata">

### Author: ![anon\_22155268](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@anon\_22155268](https://discussions.unity.com/u/anon_22155268)
#### Post date: [May 24, 2012, 2:28pm UTC](https://discussions.unity.com/t/getting-started-with-coding-for-unity/462240/8 "2012-05-24T14:28:57Z")

</div>

Thanks, Excellent tutorials!

---

<div class="post-metadata">

### Author: ![Adam-Buckner\_1](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/adam-buckner_1/32/374478_2.png) [@Adam-Buckner\_1](https://discussions.unity.com/u/Adam-Buckner_1)
#### Post date: [May 28, 2012, 8:26am UTC](https://discussions.unity.com/t/getting-started-with-coding-for-unity/462240/9 "2012-05-28T08:26:18Z")

</div>

BassO, Meta: There are two basic approaches - Applied and Theoretical. If you want an applied approach, I’d suggest running through as many Unity and 3rd Party tutorials and observe how the language is used. If you want the theoretical approach, I’d suggest books and tutorials about Object Oriented scripting and languages, language pattern and (probably easiest) a focus on C#.

TBH: I’d do some combination of both.

---

<div class="post-metadata">

### Author: ![stimarco](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/stimarco/32/249744_2.png) [@stimarco](https://discussions.unity.com/u/stimarco)
#### Post date: [June 27, 2012, 5:58pm UTC](https://discussions.unity.com/t/getting-started-with-coding-for-unity/462240/10 "2012-06-27T17:58:57Z")

</div>

Hi Little Angel,

Do you mind if I point at my own C# Unity tutorial? It’s on the Asset Store (links in my signature below). It’s not free, but it is a pretty complete turn-based Tic-Tac-Toe game, which may be of interest to those more interested in turn-based games in Unity in general.

I believe a good tutorial should explain “what”, “how” and “why”, so I included a thorough 40-page PDF explaining what it does, how it works and why I wrote it the way I did.

---

<div class="post-metadata">

### Author: ![Adam-Buckner\_1](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/adam-buckner_1/32/374478_2.png) [@Adam-Buckner\_1](https://discussions.unity.com/u/Adam-Buckner_1)
#### Post date: [July 6, 2012, 3:15pm UTC](https://discussions.unity.com/t/getting-started-with-coding-for-unity/462240/11 "2012-07-06T15:15:57Z")

</div>

New UnityScript/Unity’s JavaScript resource:

[Introduction to UnityScript from Unityscript.com](http://unityscript.com/lessons1/lessons/1_Introduction.html)

---

<div class="post-metadata">

### Author: ![Diviner](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/diviner/32/478043_2.png) [@Diviner](https://discussions.unity.com/u/Diviner)
#### Post date: [July 20, 2012, 8:22pm UTC](https://discussions.unity.com/t/getting-started-with-coding-for-unity/462240/12 "2012-07-20T20:22:58Z")

</div>

Although this isn’t strictly code related, it’s math, and it should definitely come in handy when programming in any API or language. It deals with Matrix operations. Original post is here :

[http://forum.unity3d.com/threads/144484-Behind-the-Scenes-Understanding-Transformation-Matrices?p=988735#post988735](http://forum.unity3d.com/threads/144484-Behind-the-Scenes-Understanding-Transformation-Matrices?p=988735#post988735)

Tutorials link is here :

[http://ocw.mit.edu/courses/mathematics/18-06-linear-algebra-spring-2010/video-lectures/](http://ocw.mit.edu/courses/mathematics/18-06-linear-algebra-spring-2010/video-lectures/)

---

<div class="post-metadata">

### Author: ![FoxMccloud64](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/foxmccloud64/32/359893_2.png) [@FoxMccloud64](https://discussions.unity.com/u/FoxMccloud64)
#### Post date: [January 18, 2013, 11:44pm UTC](https://discussions.unity.com/t/getting-started-with-coding-for-unity/462240/13 "2013-01-18T23:44:14Z")

</div>

This may be useful for my next game project 🙂

---

<div class="post-metadata">

### Author: ![Viking1972](https://avatars.discourse-cdn.com/v4/letter/v/e36b37/32.png) [@Viking1972](https://discussions.unity.com/u/Viking1972)
#### Post date: [April 7, 2013, 12:06am UTC](https://discussions.unity.com/t/getting-started-with-coding-for-unity/462240/14 "2013-04-07T00:06:38Z")

</div>

Hi

I have recently made a great find for those who don’t know jack about C# and wishes to learn:

[Lesson #1 First lesson in using C# in UNITY 3D. (8:17)](http://www.youtube.com/watch?v=t4pEJfuuKFU)

[Lesson #2 Introduction to C# statements. (9:46)](http://www.youtube.com/watch?v=J1cZvWWuUOQ)

[Lesson #3 Introduction to C# variables. (7:55)](http://www.youtube.com/watch?v=LQbWkkK4sf8)

[Lesson #4 C# Arithmetic Operators(12:12](http://www.youtube.com/watch?v=WzeKkUuEi88)

[Lesson #5 Arithmetic Formulas and concatenation.(8:57)](http://www.youtube.com/watch?v=4rg2boKE3fU)

[Lesson #6 Increment/Decrement operators (6:25)](http://www.youtube.com/watch?v=FPNQgn_4T6Y)

[Lesson #7 C# Assignment Operators (11:40)](http://www.youtube.com/watch?v=DKvHmvpwuVI)

[Lesson #8 Local/Global Public/Private variables in C# (9:04)](http://www.youtube.com/watch?v=-vd3WaSP4nI)

[Lesson #9 Floating Point variables (data types). (10:58)](http://www.youtube.com/watch?v=oXJdcMEnVKo)

[Lesson #10 The GUI (12:42)](http://www.youtube.com/watch?v=6lQSxoc304E)

[Lesson #11 UNITY3D C# GUI Math - Using the GUI to illustrate C# integer arithmetic. (5:35)](http://www.youtube.com/watch?v=lwJZelhsm40)

I hope this will other just as much as it helped me.

May I also request that these tutorials are are added to the sticky list

---

<div class="post-metadata">

### Author: ![Adam-Buckner\_1](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/adam-buckner_1/32/374478_2.png) [@Adam-Buckner\_1](https://discussions.unity.com/u/Adam-Buckner_1)
#### Post date: [April 10, 2013, 9:30pm UTC](https://discussions.unity.com/t/getting-started-with-coding-for-unity/462240/15 "2013-04-10T21:30:22Z")

</div>

I’ll try to get a look at these, but in any case they’ll be here if not up on the first post!

---

<div class="post-metadata">

### Author: ![gingir](https://avatars.discourse-cdn.com/v4/letter/g/b9e5f3/32.png) [@gingir](https://discussions.unity.com/u/gingir)
#### Post date: [May 21, 2013, 6:34am UTC](https://discussions.unity.com/t/getting-started-with-coding-for-unity/462240/16 "2013-05-21T06:34:23Z")

</div>

> [@Viking1972](#):
>
> Hi
> 
> I have recently made a great find for those who don’t know jack about C# and wishes to learn:
> 
> [Lesson #1 First lesson in using C# in UNITY 3D. (8:17)](http://www.youtube.com/watch?v=t4pEJfuuKFU)
> 
> [Lesson #2 Introduction to C# statements. (9:46)](http://www.youtube.com/watch?v=J1cZvWWuUOQ)
> 
> [Lesson #3 Introduction to C# variables. (7:55)](http://www.youtube.com/watch?v=LQbWkkK4sf8)
> 
> [Lesson #4 C# Arithmetic Operators(12:12](http://www.youtube.com/watch?v=WzeKkUuEi88)
> 
> [Lesson #5 Arithmetic Formulas and concatenation.(8:57)](http://www.youtube.com/watch?v=4rg2boKE3fU)
> 
> [Lesson #6 Increment/Decrement operators (6:25)](http://www.youtube.com/watch?v=FPNQgn_4T6Y)
> 
> [Lesson #7 C# Assignment Operators (11:40)](http://www.youtube.com/watch?v=DKvHmvpwuVI)
> 
> [Lesson #8 Local/Global Public/Private variables in C# (9:04)](http://www.youtube.com/watch?v=-vd3WaSP4nI)
> 
> [Lesson #9 Floating Point variables (data types). (10:58)](http://www.youtube.com/watch?v=oXJdcMEnVKo)
> 
> [Lesson #10 The GUI (12:42)](http://www.youtube.com/watch?v=6lQSxoc304E)
> 
> [Lesson #11 UNITY3D C# GUI Math - Using the GUI to illustrate C# integer arithmetic. (5:35)](http://www.youtube.com/watch?v=lwJZelhsm40)
> 
> I hope this will other just as much as it helped me.
> 
> May I also request that these tutorials are are added to the sticky list

Man these video tutorials are awesome.  
C has always been my weak spot … long and tedious books have never helped me out.  
I have a feeling video tutorials are the way for me to succeed.  
Bookmarked.

---

<div class="post-metadata">

### Author: ![SubZeroGaming\_1](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/subzerogaming_1/32/202375_2.png) [@SubZeroGaming\_1](https://discussions.unity.com/u/SubZeroGaming_1)
#### Post date: [July 1, 2013, 4:21am UTC](https://discussions.unity.com/t/getting-started-with-coding-for-unity/462240/17 "2013-07-01T04:21:55Z")

</div>

I’d like to request my signature link gets posted here. Thank you!

---

<div class="post-metadata">

### Author: ![AeonixG](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/aeonixg/32/151280_2.png) [@AeonixG](https://discussions.unity.com/u/AeonixG)
#### Post date: [July 2, 2013, 1:25am UTC](https://discussions.unity.com/t/getting-started-with-coding-for-unity/462240/18 "2013-07-02T01:25:38Z")

</div>

Thanks for the heads up!

---

<div class="post-metadata">

### Author: ![ColdTree](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/coldtree/32/493144_2.png) [@ColdTree](https://discussions.unity.com/u/ColdTree)
#### Post date: [July 9, 2013, 5:21am UTC](https://discussions.unity.com/t/getting-started-with-coding-for-unity/462240/19 "2013-07-09T05:21:26Z")

</div>

Thank You So Much For This Share! First Link VERY useful! I Had NO idea About The Code Used In Unity,

---

<div class="post-metadata">

### Author: ![snakedungeon](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/snakedungeon/32/170736_2.png) [@snakedungeon](https://discussions.unity.com/u/snakedungeon)
#### Post date: [July 21, 2013, 9:27am UTC](https://discussions.unity.com/t/getting-started-with-coding-for-unity/462240/20 "2013-07-21T09:27:59Z")

</div>

can someone tell me how to make a character move using arrow keys because i am a beginner:face\_with\_spiral\_eyes:

[Next page](https://discussions.unity.com/t/getting-started-with-coding-for-unity/462240.md?page=2)
