private void OnTriggerEnter(Collider other) { if (other.name == "Player") { gameM.completelevel(); } }