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

//	Summary
// 		* Player가 dead zone에 진입했을 시에 게임을 종료한다.

namespace Game
{
	/*
		Dead zone
 	*/
	public class DeadZone : MonoBehaviour
	{

		// Use this for initialization
		void Start ()
		{
		
		}
	
		// Update is called once per frame
		void Update ()
		{
		
		}

		void OnTriggerEnter (Collider other)
		{
			if (other.gameObject.tag == "Bottom") {
				Destroy (other.gameObject, 1f);
			}
		}
	}
}
