// Use this for initialization void OnTriggerStay2D(Collider2D col) { if (col.gameObject.tag == "Survivor") { time = Time.deltaTime; bomb.ActivateExplode(time); } }
// Use this for initialization void OnTriggerStay2D(Collider2D col) { if (col.gameObject.tag == "Survivor") { time = Time.deltaTime; bomb.ActivateExplode(time); } }