Posted April 15, 2021 by amangreen123
Hello Everyone
I just developed a projectile system that allows the enemy to shoot projectiles at the player it is given force Vector2movetowards it can also be charged to track enemies so we easily switch up enemies' behavior or if we want to make a new enemy. And to prevent unity from being overloaded the bullets destroy themselves after a set amount of time.