Training and extending your Unity skills to become a better game developer
In this section, we will give some ideas on how to improve your Unity skills and overall improve any game, including this Tower Defense game.
Making things easier for other team members
When you program your scripts in Unity, you need to keep in mind that your code will be used by different team members (we will see more about teamwork later in the chapter). So keep in mind the following:
Increase the readability of your code through documentation (we will see later in Teamwork section) for your programmer's colleagues.
Make a nice interface in the Inspector (also by using custom inspectors; see later) so that it is easy to use by designers (an example is exposing events, which we are going to explore in the next section).
Exposing events
If you are programming a very cool script that needs to interact with other elements in the game, you can actually expose your own event in your scripts.
In fact, you can add this library...