“Invalid token '{' in class, struct, or interface member declaration”
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : MonoBehaviour {
public float speed;
private Rigidbody2D rb;
void Start();
{
rb = GetComponent<Rigidbody2D>();
}
}