Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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. :)