x


Can i use c++ as a scripting lanques for unity?

I just started my "journey" into gamedev and started learing c++ as everyone told me that this is the industry standard and most used lanques but to my understanding, unity has 3 scripting lanqueses but no c++.

Is this correct?

If so, what do you suggest i learn, c# or javascript (i'm still very green behind the ears if you know what i mean). i still would like to use c++ above any other as it has a LOT of content (books,tutorials,...)

I'm looking forward for a respons and thanks in advance.

more ▼

asked Mar 09 '10 at 10:20 PM

thomasbelgium gravatar image

thomasbelgium
29 1 1 5

FYI C++ is used for game engine development as it is with Unity. Unity shields you from that and lets you focus on game logic and content creation. Even AAA games have their game logic written in a scripting language and not C++, otherwise they would have to recompile the entire app every time they tweaked a game setting.

Mar 09 '10 at 11:32 PM Michael La Voie
(comments are locked)
10|3000 characters needed characters left

3 answers: sort voted first

C++ is not a scripting language, and can only be used with Unity in the form of plug-ins (in the Pro version). C# is closer in syntax to C++ than Javascript is.

more ▼

answered Mar 09 '10 at 10:24 PM

Eric5h5 gravatar image

Eric5h5
80.1k 41 132 519

(comments are locked)
10|3000 characters needed characters left

I am studying C++ now and it's kind of sad that we can not use C++ in unity. C++ is a really powerful language. What a pity.

more ▼

answered Jan 05 at 11:06 AM

badat0202 gravatar image

badat0202
1

Trust me don't be sad, C++ is a really powerful language that it helps a lot in migrating in whatever languages cause those who learned it already have the basics up to pointers.

Mar 05 at 04:02 AM mychii
(comments are locked)
10|3000 characters needed characters left

C# is a great strictly typed languages with many tooks and tutorials available and it's syntax is much like C++ however there are big differences. C++ is the industry standard for game engine development but most of the times the gameplay code will be written in scripting languages. unity's core is written in C++ but you code the game logic in scripting languages. most popular languages for in game scripting are lua and python and unity's boo is much like python. unity's javascript is suitable for artists and flash developers but C# is really the best option. there are many talks about it in forums.

more ▼

answered Mar 10 '10 at 03:14 AM

Ashkan_gc gravatar image

Ashkan_gc
9.1k 33 56 117

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

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

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x5060
x3446

asked: Mar 09 '10 at 10:20 PM

Seen: 8139 times

Last Updated: Mar 05 at 04:02 AM