Book Image

Unity 5 for Android Essentials

By : Valera Cogut
Book Image

Unity 5 for Android Essentials

By: Valera Cogut

Overview of this book

Table of Contents (14 chapters)
Unity 5 for Android Essentials
About the Author
About the Reviewers

Chapter 2. Accessing Android Functionality

In this chapter, you will discover how to create plugins for Android platform by Java and C languages in Unity 5. You will learn in practice how to write simple plugins for the Android platform. Also, the reader will learn how to carry out an anti-piracy check, detect screen orientation, handle vibration support, determine device generation, and other more useful features. The topics that will be covered in this chapter are as follows:

  • Creating Java and native C plugins for an Android platform

  • Android scripting API in Unity 5

  • Accessing Android sensors and features within Unity 5