void OnTriggerEnter(Collider coll) { if (coll.tag == "Target") { if( disable ) coll.gameObject.SetActive(false); else Destroy (coll.gameObject); } }