pause panel on but game countinue

enter code herein the game play scene if the pause panel on but the game continue in the backend what is the solution ?

use Time.timescale = 0f ; to pause the game