Ejemplo n.º 1
0
    private void updateInputs()
    {
        //eliminar?
        EInputManager.UpdateInputTouch();

        //mejorar!
        UpdateTouchMotion();
        UpdateTouchActions();
        UpdateKeyboardMotion();
        UpdateKeyboardActions();

        /*if (comp_debug)
         * {
         *  /*if (comp_debug.EntradaTactil)
         *  {
         *      //Debug.Log("tactil");
         *      // Touch control
         *      UpdateTouchMotion();
         *      UpdateTouchActions();
         *  }
         *  else
         *  {
         *      // keyboard control
         *      UpdateKeyboardMotion();
         *      UpdateKeyboardActions();
         *  }
         * }
         * else
         * {
         *  // keyboard control
         *  UpdateKeyboardMotion();
         *  UpdateKeyboardActions();
         * }*/
    }
Ejemplo n.º 2
0
 void Update()
 {
     EInputManager.UpdateInputTouch();
 }