Update README.md
[BattleCats.git] / Assets / Scripts / BossScripts / DestroyByTime.cs
blobd8eecc0b8e61b0243e34355fba8f120db4657bb0
1 using System.Collections;
2 using System.Collections.Generic;
3 using UnityEngine;
5 public class DestroyByTime : MonoBehaviour {
7 public float lifetime;
9 // Use this for initialization
10 void Start () {
11 Destroy (gameObject, lifetime);
14 // Update is called once per frame
15 void Update () {