Пример #1
0
        public override IEnumerator PerformFirstPass()
        {
            CustomGraphicsService customGraphicsService = new CustomGraphicsService();

            customGraphicsService.Init();
            Service.Set(customGraphicsService);
            GameObject gameObject = Service.Get <GameObject>();

            gameObject.AddComponent <WindowResizeService>();
            string tier = Screen.width + "x" + Screen.height;

            Service.Get <ICPSwrveService>().Action("desktop_display_settings", "start_resolution", tier);
            yield break;
        }