private void RequestSearch()
        {
            var userInput = SearchInputField.text;

            if (!string.IsNullOrEmpty(userInput))
            {
                SearchRequest?.Invoke(userInput);
            }
            else
            {
                ClearSearchRequest?.Invoke();
            }
        }
Exemple #2
0
 private void OnSearchRequest(EngineSearchRequestEventArgs e)
 {
     SearchRequest?.Invoke(this, e);
 }