unity knowing when 0 input is pressed

Code Example - unity knowing when 0 input is pressed

                
                        if(!Input.anyKey)
{
 Debug.Log("No input is pressed");
}