>>11

え?普通に通ったよ

void Start ()
{
string x = "input key";
if(x== "input key")
{
Debug.Log("ok");
}
}