Works for me in a new project. Note that I used:
public string inputField;
and
if (inputLower.Contains (searchLower)){
So I could use the inspector to edit the string, and I wanted to check if that string contains any of the words in the array.
↧