Zeplin.ZeplinGame.ChangeResolution C# (CSharp) Метод

ChangeResolution() публичный Метод

public ChangeResolution ( int width, int height, bool fullscreen ) : void
width int
height int
fullscreen bool
Результат void
        public void ChangeResolution(int width, int height, bool fullscreen)
        {
            graphics.PreferredBackBufferWidth = width;
            graphics.PreferredBackBufferHeight = height;
            graphics.IsFullScreen = fullscreen;
            graphics.ApplyChanges();
            World.gameResolution = new Vector2(width, height);
        }