Developers can now incorporate Unity features into native iOS and Android appsApril 9, 2020 3 Comments Business, City, Education, International, Jobs & Education, Other, Social Media, Technology Priya Saha
Yesterday, Unity made an update stating that from Unity 2019.3.a2 onwards, Android and iOS developers will be able to incorporate Unity features into their apps and games. Developers will be able to integrate the Unity runtime components and their content ( augmented reality, 3D/2D real-time rendering, 2D mini-games, and more) into a native platform project so as to use Unity as a library.
“We know there are times when developers using native platform technologies (like Android/ Java and iOS/Objective C) want to include features powered by Unity in their apps and games,” said J.C. Cimetiere, senior technical product manager for mobile platforms, in a blog post.
How it works
The mobile app build process overall is still the same. Unity creates the iOS Xcode and Android Gradle projects. However, to enable this feature, Unity team has modified the structure of the generated iOS Xcode and Android Gradle projects as follows:
- A library part – iOS framework and Android Archive (AAR) file – that includes all source files and plugins
- A thin launcher part that includes app representation data and runs the library part
They have also released step-by-step instructions on how to integrate Unity as a library on iOS and Android, including basic sample projects.
Currently, Unity as a Library supports full-screen rendering only. For now, rendering on only a part of the screen is not supported. Also loading more than one instance of the Unity runtime is not supported. Developers need to adapt third-party plugins (native or managed) for them to work properly.
Unity hopes that this integration will boost AR marketing by helping brands and creative agencies easily insert AR directly into their native mobile apps.
Hi, yeah this article is truly good and I have learned lot of things from it on the topic of blogging.
Good read. Thanks for the data. It helps us. We only have several comments per post and were evaluating the impact on metrics. Doesn’t seem to be any. Thanks once again.. https://bloggerspassion.com/
Good article, keep going on.. https://firstsiteguide.com/