This chapter covers how to think in terms of object-oriented programming (OOP), the logical extension of the classes discussed in the preceding chapter.
By the end of this chapter, you'll understand not only how to think in terms of OOP but also how to specifically structure projects in the manner that is best for the Unity development environment.
The Object-Oriented Metaphor
The easiest way to describe object orientation is through a metaphor. Think about all the birds in a flock. Flocks can consist of hundreds or even thousands of individual birds, each of which must avoid obstacles and other birds while still moving along with the flock. Flocks of birds exhibit brilliantly coordinated behaviors that for ...