Skip to Main Content
Unity 2018 Augmented Reality Projects
book

Unity 2018 Augmented Reality Projects

by Jesse Glover
July 2018
Intermediate to advanced content levelIntermediate to advanced
358 pages
7h 17m
English
Packt Publishing
Content preview from Unity 2018 Augmented Reality Projects

Java language plugin

For the Java language plugin, we have two choices that work just fine. We have the Java Library, which compiles to a JAR file, and the Android Library, which compiles to AAR format. To access Android-specific functions, we need to create the Android Library, and for pure Java language usage, we would create the Java library.

There is a major distinction between the two, and this should be discussed. Consider the following:

  • Android Library projects contain native and Java code along with resource files and an Android Manifest. They will include the .class files and .jar files that need to be precompiled into the Android Studio project, before being imported into Unity.
  • Java Library projects are built directly to be JAR ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Unity 2020 Game Development

Hands-On Unity 2020 Game Development

Nicolas Alejandro Borromeo

Publisher Resources

ISBN: 9781788838764Supplemental Content