Hi,
im watching a 2D platformer project and we used that code
grounded = Physics2D.Linecast(transform.position, groundCheck.position, 1 << LayerMask.NameToLayer("Ground"));
i need to know what exacly that code mean especaly LayerMask.NameToLayer(“Ground”)