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

public class Bomb : MonoBehaviour
{

	PlayerController player;
	
    // Start is called before the first frame update
    void Start()
    {
        player = GameObject.FindGameObjectWithTag("Player").GetComponent<PlayerController>();
    }

    // Update is called once per frame
    void Update()
    {
        
    }
}


private void OnTriggerExit (Collider other)
{
	if(other.tag == "Player")
	{
		GetComponent<SphereCollider>().isTrigger = false;
	}
}