Ejemplo n.º 1
0
        public Game()
        {
            GraphicsDevice = new GraphicsDevice(new Viewport(0, 0, Screen.width, Screen.height));
            Content        = new ContentManager();

            _window = new UnityGameWindow(GraphicsDevice);

            UnityEngine.Input.simulateMouseWithTouches = false;
            UnityEngine.Input.multiTouchEnabled        = true;
        }
Ejemplo n.º 2
0
 public Game()
 {
     Window = new UnityGameWindow();
 }