//restarts the level (exclusively only for restart prompt) public void RestartLevel() { if (gameplayScript != null) { gameplayScript.Restart(); } else { Debug.LogError("gameplayScript is not configured!"); } }