I have no idea whats wrong here I have only 6 lines of code and im getting this error. This is the error: Assets/Scripts/Collisions.js(1,6): UCE0001: ‘;’ expected. Insert a semicolon at the end.
using UnityEngine.SceneManagement;
function OnCollisionEnter()
{
SceneManager.LoadScene(SceneManager.GetActiveScene);
}