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

public class erase : MonoBehaviour {

	// Use this for initialization
	void Start () {
        Invoke("myDestroy", 5f);//出現してからの消失時間
	}
	
	// Update is called once per frame
	void Update () {
		
	}

    void myDestroy(){
        Destroy(this.gameObject);
    }
}
