Where is OnUserInput declared anyways? I looked through all the other scripts (Terminal, Keyboard, DisplayBuffer, InputBuffer, Utility, Display) and cannot find any reference at all to this. Am I missing something after importing my package?
print works fine if I just print something in the main function.
Thanks Nina, Hacker script is attached to the main object as described. When I run (press Play), everything else comes up fine on the monitor, but when I press a button, it does not display on the console. It doesn’t appear that the program picks up on the keypresses. Terminal script is attached to “Terminal”, as it was by default when dropping in the prefab at the beginning. I do see a reference to OnUserInput inside that script, under NotifyCommandHandlers.
Also, messages in console are enabled. Print works fine if I put it in the main method, just not when I put it in OnUserInput.
EDIT: OMG, I’m an idiot. It doesn’t output anything until after I press enter. I thought each keypress would trigger it, lol. Thanks!