Input not updating on user input

I’m creating the login method and working on my whole creation and the issue I currently have is that the input is not accepting what the user types =/. My GUI is Created with

I can update using the fields in the inspector, but if I try to type in the actual GUI it doesn’t do anything.

Try replacing

GUI.TextField (new Rect (328, 213, 155, 25), UsernameInput);
GUI.TextField (new Rect (328, 280, 155, 25), PasswordInput);

with

UsernameInput = GUI.TextField (new Rect (328, 213, 155, 25), UsernameInput);
PasswordInput = GUI.TextField (new Rect (328, 280, 155, 25), PasswordInput);