using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class PlayerBullet : MonoBehaviour {

    private Rigidbody2D rb;
    public float bulletSpeed;

	void Start () {
        rb = GetComponent<Rigidbody2D>();
	}
		
	void Update () {
        rb.velocity = transform.right * bulletSpeed;
	}
}
