Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Game Development

Audi Lou Abatayo
Audi Lou Abatayo
2,645 Points

Android Studio vs. Unity

If I wanted to build a 3d game for mobile applications(based on android), should I use Android Studio or Unity?

I checked out the two and understood that the foundation for Android is Java, while Unity is C#. So now I'm confused as to what language I should really be learning first. :| Can anyone share their thoughts??

2 Answers

Nick Pettit
STAFF
Nick Pettit
Treehouse Teacher

If you want to make a Unity game for Android, you'll need to use Unity.

The scripts you write in Unity are indeed written in C#, but Unity uses a virtual machine on target devices and has a scripting backend called IL2CPP that will translate your project into the code needed for a given device. In other words, you can make your game in Unity and build for Android, and Unity will figure out how to build your project for an Android device.

Audi Lou Abatayo
Audi Lou Abatayo
2,645 Points

Oh, I see. Thank you very much for making it clear to me. :)