So its hard to tell exactly because sometimes that error can mean too many or too little parentheses AND you didnt include the entire script including namespaces so where the error says the line (35,63) i cant see exactly what line. But, my guess is this:
the Our Boi is probably mistyped and that Space is confusing Unity. If it is a typo, just fix that and hopefully it should work. If that is actually your variable, try renaming it without the space or throw in an _ to fix it. If you change it and there is still the same error, copy and paste the entire code (with namespaces) so the error line # lines up with the code you post. Thank you for editting you post with code tags, it really does help.
There is a new error
Assets\Playermovement.cs(35,66): error CS1061: ‘Transform’ does not contain a definition for ‘posision’ and no accessible extension method ‘posision’ accepting a first argument of type ‘Transform’ could be found (are you missing a using directive or an assembly reference?)
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Playermovement : MonoBehaviour {
public float movementSpeed;
public Rigidbody2D rb;
public float JumpForce = 90f;
public Transform Player;
public LayerMask groundLayers;
float mx;
private void Update() {
mx = Input.GetAxisRaw("Horizontal");
if (Input.GetButtonDown("Jump") && IsGrounded()) {
Jump();
}
}
private void FixedUpdate() {
Vector2 movement = new Vector2(mx * movementSpeed, rb.velocity.y);
rb.velocity = movement;
}
void Jump() {
Vector2 movement = new Vector2(rb.velocity.x, JumpForce);
rb.velocity = movement;
}
public bool IsGrounded() {
Collider2D groundCheck = Physics2D.OverlapCircle(Player.posision, 0.5f, groundLayers);
if (groundCheck != null) {
return true;
}
return false;
}
}