void OnTriggerEnter(Collider other) { if (other.gameObject.tag == "Ground") { control.SetGrounded(true); } }