Summary
In this chapter, we look at the details of writing plugins in Java and native C for Unity. We practiced developing simple plugins for Android platform. Also, we explored how to make anti-piracy checks, detect screen orientation, handle vibration support, get device name, get device model, and get much more useful information. We learned how to access the acceleration, gyroscope, and compass sensors with their features and properties in practice.
In the next chapter, you will learn how to develop high-end graphics. You will explore how to write simple Cg shaders in Unity. You will also learn more about awesome tips, tricks, and techniques that are used all over the world in game production. You will also acquire information about global illumination and how to optimize your shaders.