Skip to content

Instantly share code, notes, and snippets.

@Hellhackee
Created January 14, 2021 20:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Hellhackee/d1ad222d98012d3736adb7b431f59a64 to your computer and use it in GitHub Desktop.
Save Hellhackee/d1ad222d98012d3736adb7b431f59a64 to your computer and use it in GitHub Desktop.
Swamp attack shotgun
public class Shotgun : Weapon
{
public override void Shoot(Transform[] shootPoints)
{
foreach (var shootPoint in shootPoints)
{
Instantiate(Bullet, shootPoint.position, Quaternion.identity);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment