void OnTriggerEnter(Collider other) { if (other.CompareTag ("pickup")) { other.gameObject.SetActive (false); count++; } }