C# Boolean Stuck as False

I have a bool in my script that is stuck as false. I tried changing if(clickCheck) to if(clickCheck == true) but it’s still stuck as false. I believe this is due to the if statement being bypassed somehow. I have clickCheck set to false in the inspector so I don’t know why it’s being bypassed.

using UnityEngine;
using UnityEngine.Events;
using UnityEngine.EventSystems;
using UnityEngine.Serialization;
using UnityEngine.UI;
using System.Collections;
public class KeyPressString : MonoBehaviour, IPointerClickHandler {
	public Text text;
	public bool clickCheck;
	public PressedStringEvent OnPress;
	void Update(){
		if(clickCheck == true){
			if(Input.inputString != null){
			OnPress.Invoke(text.text);
			clickCheck = false;
			}
		}
	}
	public void OnPointerClick(PointerEventData eventData){
		clickCheck = true;
	}
}
[System.Serializable]
public class PressedStringEvent : UnityEvent<string>{}

As far as i know “Input.inputString” is never “null”. It’s most likely an empty string.

In general it’s safer to use string.IsNullOrEmpty

     if(clickCheck){
         if(!string.IsNullOrEmpty(Input.inputString)){
             OnPress.Invoke(text.text);
             clickCheck = false;
         }
     }