Exemplo n.º 1
0
        private void Awake()
        {
            var background = FindOrCreateUILayer(UiBackground);
            var foreground = FindOrCreateUILayer(UiForeground);

            uiLayers =
                new UILayers(background.transform, foreground.transform);

            UIEventSystemCreator.GetInstance()
            .Create <EventSystem, StandaloneInputModule>();
        }