you can put the enemies in an array of the enemy class in a common place like gamemode at the beginning or as they are spawned and you just ‘for each’ the array. no need to use get all of class.
you can put the enemies in an array of the enemy class in a common place like gamemode at the beginning or as they are spawned and you just ‘for each’ the array. no need to use get all of class.