How to this if else work

Your code looks for “Menu”, not “menu”. If you are in doubt whether the user input is processed correctly by your methods, log the input into your console with Debug.Log("Input: " + input);.


See also: