private void OnEnable()
        {
            if (_tmpInputAutoComplete == null)
            {
                _tmpInputAutoComplete = GetComponent <TMPInputAutoComplete>();
            }

            _tmpInputAutoComplete.eventLoaded   += TermListLoaded;
            _tmpInputAutoComplete.eventNewInput += NewInput;
            _tmpInputAutoComplete.eventNoInput  += NoInput;
        }
 private void OnEnable()
 {
     _tmpInputAutoComplete = GetComponent <TMPInputAutoComplete>();
     if (_tmpInputAutoComplete == null)
     {
         Debug.LogError("No TMP Input Autocomplete component is missing on " + gameObject);
     }
     else
     {
         _tmpInputAutoComplete.eventNoInput      += NoInput;
         _tmpInputAutoComplete.eventNewInput     += NewInput;
         _tmpInputAutoComplete.eventAutoComplete += AutoComplete;
     }
 }
        void Start()
        {
            _tmpInputAutoComplete = GetComponentInParent <TMPInputAutoComplete>();
            if (_tmpInputAutoComplete == null)
            {
                Debug.LogError("No Auto Complete component was found in the part of the auto complete click button");
            }

            _button = GetComponent <Button>();
            if (_button != null)
            {
                _button.onClick.AddListener(OnClick);
            }
        }