Exemplo n.º 1
0
        // Start is called before the first frame update
        void Start()
        {
            WindowContainer windowContainer = WindowContainer.Create("MAIN");

            IUIViewLocator locator = applicationContext.GetService <IUIViewLocator>();

            AddAllWindows(windowContainer, locator);

            GameMainWindow startWindow = windowManager.Find <GameMainWindow>();

            startWindow.Create();
            startWindow.Show();
        }