private void Awake()
    {
        _instance = this;

        UnityEngine.Cursor.visible   = true;
        UnityEngine.Cursor.lockState = CursorLockMode.None;

        MainMenuData.instance.menu.populate(MainMenuData.instance.menuItems.Keys.ToList());
    }
Example #2
0
        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();
        }
Example #3
0
 void Start()
 {
     this.sc           = GameObject.FindGameObjectWithTag("ScenesController").GetComponent <ScenesController> ();
     this.MainMenuInit = GameObject.Find("StartUp").GetComponent <MainMenuInit> ();
 }