Read Time:34 Second
Goal: We have a limited number of towers and we want them to stick around in the game.
Here is the new tower detection method. I wanted to avoid having the Tower and the Waypoint store references to each other so I added colliders to the Tower and then did a little Overlap Sphere looking for things in the Towers layer. If we find something then that means the waypoint already has a tower.

These are the new ring buffer methods for the Friendly Base. The original list has been disposed of in favor of the ring buffer queue and a new variable to track the maximum number of towers.

Average Rating