Learning Unity3D devlog - Day 08

in #coding7 years ago

Day 8 - Tower targeting

Today I created a function that assigns the closest enemy as the tower's target. The tower is now capable of choosing its own target. In the future, I plan to target the enemy that is closest to the friendly base, but this mode will do for testing purposes. Now the game is getting closer to the finished product.
ezgif.com-optimize (3).gif