private void OnTriggerStay(Collider collision) { if (collision.gameObject.tag == "Ground") { player.SetGrounded(true); } }