예제 #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;
        }
예제 #2
0
 public Game()
 {
     Window = new UnityGameWindow();
 }