﻿//Author - Devin Reimer - http://blog.almostlogical.com
using UnityEngine;
using System.Collections;

public class Enemy : MonoBehaviour
{
    public GameObject prefabDeath;
    public void HitTarget()
    {
        Instantiate(prefabDeath, transform.position, transform.rotation);
        Destroy(gameObject);
    }

}