﻿using UnityEngine;
using UnityEngine.Events;
using System.Collections.Generic;

public class Bullet : MonoBehaviour {
	public float speed = 10;
	public float lifetime = 2;
	
	void Start() {
		Destroy(gameObject, lifetime);
	}
	
	void Update() {
		transform.position += Vector3.up * speed * Time.deltaTime;
	}
}
