Unity C sharp script not working i used a bool function to disable / enable my movement script
the input escape key cancel function works but the bool function i added to determine if the key is being pressed twice to enable / disable player movement for my menu ui. does not.