unity knowing when 0 input is pressed code example Example: unity knowing when 0 input is pressed if(!Input.anyKey) { Debug.Log("No input is pressed"); }