Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- namespace Player.Weapon
- {
- public class Shotgun : BaseWeapon
- {
- public override void Shoot(Transform shootPoint)
- {
- Instantiate(Bullet, shootPoint.position,
- Quaternion.Euler(0f, 0f, 7f));
- Instantiate(Bullet, shootPoint.position, Quaternion.identity);
- Instantiate(Bullet, shootPoint.position,
- Quaternion.Euler(0f, 0f, -7f));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement