Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Lachlan Patterson · Jan 02, 2011 at 09:22 AM · where-to-start-scripting

How to learn programming for Unity?

I have NO prior knowledge in programming of any sort so here are some questions:

  1. What language should I choose (If C# should I learn C++ first)?
  2. Where could I get a book/tutorials for that language?
  3. Do I need to know specific Unity programming to make a proper game?

Thanks in Advance.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

4 Replies

· Add your reply
  • Sort: 
avatar image
3

Answer by Mike 3 · Jan 02, 2011 at 09:48 AM

1) Pick either c# or javascript. c# is a little harder to learn at first, but you get the benefit of tutorials on how to use it, javascript is a unity specific language with no real language documentation. If you pick c#, don't pick c++, they're not really that related besides the c in the name

2) Most bookshops with technical sections will probably have c# books, otherwise amazon and the like definitely does. For tutorials, they're everywhere, google is generally your friend there (Type in c# tutorial and you'll get a bazillion links).

3) http://unity3d.com/support/documentation/ScriptReference/ is a good reference for classes and functions you'll want to use

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image krainert · May 05, 2015 at 07:42 PM 0
Share

This is an old question, but it's important to prevent the proliferation of misconceptions.

First of all, JavaScript is not Unity-specific but rather a client-side scripting language for web pages. Also, Unity's concept of JavaScript may not conform with standard JavaScript as some have pointed out. I have not been able to confirm this, however, as Unity's own documentation is very lacking. Note that Boo, the third language supported by Unity, is not Unity-specific either.

Second, C# and C++ are related by their mutual syntactic heritage from C, after which they are named. Furthermore, all three of these languages are imperative, and both C# and C++ are heavily object-oriented.

To answer the original parenthetical question, no, you do not need to learn C++ before learning C#. However, since C# as $$anonymous$$ike rightly points out is a fairly complicated language to learn (compared to JavaScript/UnityScript), you may want to learn the basics of coding elsewhere before moving into Unity scripting. Perhaps Processing or Greenfoot would be of interest here.

avatar image
1

Answer by YoshieMaster · Jan 02, 2011 at 09:45 AM

I find JavaScript simplest but this is just a personal preference. For documentation check out http://unity3d.com/support/documentation/

You will need to learn Unity specific commands and identifiers. These are all in the documentation.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

Answer by Meltdown · Jan 02, 2011 at 02:31 PM

I found these tutorials at http://www.unity3dstudent.com/ to be the best. They all video tutorials and they go quite a bit into scripting with simple line by line examples.

I would go for C# as a language.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
-1

Answer by gamedevtraining · May 06, 2011 at 02:40 PM

Our own shameless plug here...

If you are interested in game development, you might also be interested in our online 4-day course on Game Development with Unity: http://gamedevtraining.zymichost.com

Its interactive so you can ask questions from the instructor, and share your screen live. Its only over weekends, and since we are doing this live for the first time ( we usually do in-person), its very affordable.

To register, email: gamedevtraining@gmail.com

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

How do you write scripts??? 4 Answers

Where can I get more help using Unity? 9 Answers

I would like to learn a programming language. I have no prior experience in programing. What would you suggest for a beginner? 2 Answers

Where can you find a in depth tutorial for learning UnityScript? 3 Answers

Scripting Complications 5 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges