using UnityEngine;
using UnityEngine.SceneManagement;
public class Menu : MonoBehaviour {
public void StartGame ()
{
SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex + 1)
}
}
icant figure out what i need to do!
Error:
Assets\Scripts\Menu.cs(8,77): error CS1002: ; expected
Clearly. How to report your problem productively in the Unity3D forums:
http://plbm.com/?p=220
How to understand compiler and other errors and even fix them yourself:
https://discussions.unity.com/t/824586/8
It looks like you are missing a semicolon.
Also, consider this:
https://www.youtube.com/watch?v=84kaypWK1bM
i know that i am missing a semicolon, but i dont know where i am missing it.
You should read my link above telling you how to interpret the error message. It is telling you the precise character where you need to add it!!!