paolapersico1_BodySwap/BodySwap/Assets/ZED/Examples/Drone Shooter/Resources/Muzzleflash_FX/WFX_Demo_DeleteAfterDelay.cs
using UnityEngine;
using System.Collections;

public class WFX_Demo_DeleteAfterDelay : MonoBehaviour
{
	public float delay = 1.0f;
	
	void Update ()
	{
		delay -= Time.deltaTime;
		if(delay < 0f)
			GameObject.Destroy(this.gameObject);
	}
}
