private void OnTriggerEnter(Collider other) { if (other.tag == "Enemey") { Debug.Log("Here"); cameraControl.AddTarget(other.transform); } }