Updated unity to version 2017 and I had an error with the following code :
if(SceneManager.GetActiveScene().buildIndex == 0)
> error CS0117: `UnityEngine.SceneManagement.SceneManager` does not contain a definition for `GetActiveScene`
↧