I am not getting any reaction at all from the console its not saying true or false to what I type even if I press enter.
Am I supposed to attach my script to my display keyboard and terminal? In the WM2000 objects.
and I am not getting any reaction at all from the console its not saying true or false to what I type even if I press enter. It’s not saying hello its blank nothing is showing in the console when I pressed play.
This is what my code/ script looks like.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class hackerss : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
ShowMainMenu("Hello Nerdboss");
print("Hello" + "World");
}
void ShowMainMenu(string greeting)
{
Terminal.ClearScreen();
Terminal.WriteLine(greeting);
Terminal.WriteLine("What would you like to hack into?");
Terminal.WriteLine("press 1 for the local library");
Terminal.WriteLine("press 2 for the police station");
Terminal.WriteLine("press 3 for Nasa");
Terminal.WriteLine("Enter your selection:");
}
void OnUserInput(string input)
{
print(input);
print(input == "1");
}
}