using UnityEngine;
using System.Collections;

public class EscapedEffectCanvas : MonoBehaviour
{
	[SerializeField]
	float selfDestroyDuration = 3f;

	void Start() {
		Invoke ("selfDestroy", selfDestroyDuration);
	}

	/// <summary>
	/// destroy gameObject.
	/// </summary>
	void selfDestroy () {
		Destroy (gameObject);
	}

}
