So, in my tower defense game, multiple different towers with different stats will use the same projectile, so i need to be able to tell the projectile how much damage it does, and other stats like projectile speed and lifespan, as these stats may differ.
I actually did something similar in one of my recent games, where all the moves would share a hitbox, and it was controlled via variables. You can use global values to control the damage output of your projectile, you can also use global values to change its design using animations and speed as well.
thanks, but i just switched to spawn, because globals would effect all towers, not just upgraded ones