UnityScript If(var="this" OR "that"){//做某事}

UnityScript If(var="this" OR "that"){//do something}

我不确定如何使以下代码工作:

if(response!==("usernamewrong" OR "passwordwrong")){
    print("login Wrong");
} else {
    //if anything else other than the two shows up into the response goes here
}

在条件中进行多项检查时必须明确:

if (response == "usernamewrong" || response == "passwordwrong")