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

public class SelfDestruct : MonoBehaviour
{
    [SerializeField] float timeToDie;

    void Start()
    {
        Destroy(gameObject, timeToDie);
    }
}
