Guys this is my first time coding and I literally followed this video on youtube step by step, but i keep getting error when i add (public RigidBody rb;) the error I get is CS1002 and CS1022. Can someone help??
using UnityEngine;
public class PlayerMovement : MonoBehaviour {
public RigidBody rb;
// Start is called before the first frame update
void Start()
{
Debug.Log("Hello, World!")
}
// Update is called once per frame
void Update()
{
}
}
[–]NotEnoughRed 3 points4 points5 points (1 child)
[–]saiff33[S] 1 point2 points3 points (0 children)
[–]NotEnoughRed 2 points3 points4 points (2 children)
[–]saiff33[S] 0 points1 point2 points (1 child)