hello i’m getting back into unity and c# after a long time and i don’t know what’s wrong with the code can you help me? ![]()
Player.cs(27,73): error CS1002; expected
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Player : MonoBehaviour
{
[header("stats")]
public float movementSpeed;
public float jumpPower;
[SerializeField] Rigibody2D rigibody;
void Start()
{
}
void Update()
{
Move();
}
void Move()
{
float horizontal = Input.GetAxisRaw("horizontal") * movementSpeed;
rigibody.velocity = new Vector2(horizontal, rigibody.velocity.y)
}
}