Does Hamarin Use Unity?

OK, I'm confused. I read that Unity uses mono to compile Android and iOS applications. Then I read that mono is part of Xamarin. Am I mistaken if I say unity uses Xamarin?

Next, say unity does not use Xamarin. Then how does it compile apps for Android and iOS? I understand that he requested android sdk when compiling for android. Does this mean that it compiles to android? Using Android sdk?

If so, how can I use C # and Android sdk to compile applications in .apk format? (Without using Xamarin, make applications in C # and compile it on Android yourself)

+4
source share
1 answer

Unity uses a very old version of Mono as a basis. Mono Project is a separate effort from Xamarin. Mono is the open source .NET runtime. Xamarin.iOS and Xamarin.Android is a proprietary runtime environment for C # on iOS and Android devices, respectively. Xamarin Studio is an exclusively development environment and is not needed at all for development. Of course, this makes it much more convenient.

The Xamarin.Android compiler will create .apk for you, which will either enable or link a mono runtime environment for Android. You can set options on the command line or in your IDE. Unity is simply an β€œIDE” (front end) and uses similar compilers and arguments like Xamarin Studio or Visual Studio.

+2

All Articles