Chapter 6. Loops
In previous chapters, we learned how to tell Unity what to do line by line. In most of our examples, we wrote one instruction per line. I want to move on to something a bit more complex now.
In this chapter, we will cover the following topics:
- Introduction to loops
- Why we use loops
- Commonly used loops
- Loops with statements
- Searching for data inside a loop
- Breaking loop execution