Hi everyone !!!
I have a question regarding the score part in udemy course “ Complete C# Unity Developer 2D: Learn to Code Making Games ” - BLOCK BREAKER
How can you keep the previous score of the previous level while pressing on PLAY AGAIN ???
I used this method in the SceneLoader.cs :
public void LoadPreviousScene()
{
int currentSceneIndex = SceneManager.GetActiveScene().buildIndex;
SceneManager.LoadScene(currentSceneIndex - 1);
}
