void Update() { // If the scene is starting... if (sceneStarting) { // ... call the StartScene function. StartScene(); } if (sceneEnding) { EndScene(newScene); LoadingScreen.ActivateLoadingScreen(); } }
void Update() { // If the scene is starting... if (sceneStarting) { // ... call the StartScene function. StartScene(); } if (sceneEnding) { EndScene(newScene); LoadingScreen.ActivateLoadingScreen(); } }