private void Awake() { _instance = this; UnityEngine.Cursor.visible = true; UnityEngine.Cursor.lockState = CursorLockMode.None; MainMenuData.instance.menu.populate(MainMenuData.instance.menuItems.Keys.ToList()); }
static void Main(string[] args) { Introduction Intro = new Introduction("Polynomial solver"); Intro.Greeting(); Menu mainMenu = new MainMenuInit("Use one of the commands: ", new Polynomial(new FullStringPolynomialFormer(), new PolynomialStringParser())); mainMenu.Start(); Intro.Parting(); }
void Start() { this.sc = GameObject.FindGameObjectWithTag("ScenesController").GetComponent <ScenesController> (); this.MainMenuInit = GameObject.Find("StartUp").GetComponent <MainMenuInit> (); }