Couldn't resume once Time.timeScale is set to 0

Beginner here.
In my game I have placed a pause method. The best ever method as far as I know to pause is to set Time.timeScale to 0. But the problem is I can’t resume by setting it back to 1 as every other object in my game including codes got paused. Someone please help me with a replacement. My code also involves animator gameobjects.

also I want to know whether setting Time.timeScale to 0 would pause the System time Time.time or not.

Thanks in advance. :slight_smile:

#pragma strict

function Paused(){
	
		Time.timeScale = 0.0;    	
}
function Resume(){

		Time.timeScale = 1.0;
} 
function Quit(){
		Application.Quit();
}