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
2
Question by nowhereman · Jul 22, 2010 at 05:47 PM · where-to-start-scripting

Starting out Learning C++?

I've finally hit that point where I need to learn how to program to get anywhere further in Unity, but there's so much overwhelming information out there that as a beginner it's hard to look through it all and understand what's useful in the context of developing with Unity. I'd prefer to learn C++ since that seems to be the most widely used in the developement community. My question is, what did other people on here use to learn programming? and What would be the best way for me (as a beginner with a very low budget and not a ton of free time) to get started programming? Thanks!

Comment
Add comment · Show 1
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 Cyclops · Jul 22, 2010 at 06:03 PM 1
Share

Did you mean C#? Since Unity only used C#/JS/Boo, not C++.

3 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by Ares · Jul 22, 2010 at 06:57 PM

As Cyclops mentioned, Unity doesn't use C++, it uses C#. Since you are new to programming C# would be a good jumping off point.

Personally, I started by picking up a book and programming on a TI99-4A way back in the day (external cassette backup...which never worked properly). There are a number of good books to teach-yourself programming basics. Here's a couple of listings off of Amazon (C++ and C#).

http://www.amazon.com/Sams-Teach-Yourself-One-Hour/dp/0672329417/ref=sr_1_5?ie=UTF8&s=books&qid=1279823717&sr=1-5

http://www.amazon.com/Sams-Teach-Yourself-Visual-Hours/dp/0672329905/ref=sr_1_6?ie=UTF8&s=books&qid=1279823775&sr=1-6

http://www.amazon.com/Programming-Building-Applications-Jesse-Liberty/dp/0596006993/ref=sr_1_12?ie=UTF8&s=books&qid=1279823775&sr=1-12

http://www.amazon.com/Templates-Complete-Guide-David-Vandevoorde/dp/0201734842/ref=sr_1_8?ie=UTF8&s=books&qid=1279823717&sr=1-8

Some of these books will include a CD with a compiler, samples, and examples. If they don't, here's a free compiler: http://www.mono-project.com/CSharp_Compiler

Avoid "for dummies" programming books...I think they are too simple. Avoid what is called "visual-c++, visual-c#,..." those normally teach a person more so on programming a gui, not to be confused with scripting a gui as with Unity.

The things you will need to concentrate on are: creating functions, passing variables, and class structs. (and of course syntax)

One last thing to add, you mentioned that a lot of developers still use C++. Yes and No. From my experience they use C, C++, and C# and a lot of custom libaries. The regular Windows libaries can be really bloated.

Just my 2 cents...and my first posting on Unity.

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 Mike 3 · Jul 22, 2010 at 06:53 PM

Agreed with Cyclops' comment

C++ is not the best language to learn for unity. You can use c++ plugins with it, but they have to be compiled ahead of time, they can't really interact with unity directly, and you'd need Unity Pro.

C# on the other hand is a great language to learn for unity.

The best way to learn that would probably to look through the links of this other question:

http://answers.unity3d.com/questions/4897/how-can-i-start-learning-unity-fast-list-of-tutorials

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 Thom Denick · Jul 24, 2010 at 10:02 PM

I'd like to add my two cents: definitely commit to learning C#. C# is quickly becoming a standard and already is the standard on Microsoft platforms. (XNA, XBLA, and a lot of 360 games are programmed in C#).

I had tremendous success with the book Head First C#, which teaches in a more fun, visual way. I had previously had problems learning from books, but Head First really sucked me in and made me finally commit to learning.

http://www.amazon.com/Head-First-Learners-Real-World-Programming/dp/1449380344/ref=sr_1_1?ie=UTF8&s=books&qid=1280008899&sr=8-1

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 Thom Denick · Jul 25, 2010 at 04:38 PM 1
Share

I also wanted to add one thing. I heard from program$$anonymous$$g friends that I should start with C++ before moving to C#. I think this was a bias co$$anonymous$$g from people that had to do this in college. There are no C++ fundamentals that are required to learn C# or use the Head First book, or likely any other C# learning book, it's a language unto it's own and C++ or C knowledge is definitely not required.

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

2 People are following this question.

avatar image avatar image

Related Questions

How do I get set up with a programming language and everything. 2 Answers

Scripting Resources 2 Answers

Where is the best place to learn javascript? 3 Answers

Teaching Myself, Tips? 2 Answers

scripting tutorial 1 Answer


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