Chapter 4. Player Characters and Further Scripting

In this chapter, we'll expand the island scenario that we created in the previous chapter by taking a look at the construction of the player character that you have already added to the island. This object is an example of a first-person perspective player character. But how does its combination of objects and components achieve this effect?

We will take a look under the hood of this prefab while looking at how each of the components work together to create our player character.

As we have already added our prefab to the game scene, it would be all too easy to continue with the development and accept that this object just works. Whenever you are implementing any externally created assets, you should ...

Get Unity 3.x Game Development Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.