String comparison returns False for same strings in Unity

前端 未结 0 476
有刺的猬
有刺的猬 2021-01-13 17:48

I have a simple piece of code i run in Unity:

string cmd = inputField.text;

foreach (var command in _commands)
{
    Debug.Log("." + command.comman         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题