can someone explain this line of code involving the raycasts in the ground detection system? That entire section is barely making any sense to me and there's barely any explanation in the guide.
onGround = Physics2D.Raycast(transform.position + colliderOffset, Vector2.down, groundLength, groundLayer) || Physics2D.Raycast(transform.position - colliderOffset, Vector2.down, groundLength, groundLayer);
Thanks :D