Ejemplo n.º 1
0
 // Update is called once per frame
 void Update()
 {
     if (KeyImputManager.getKeyMapHasChange())
     {
         Left.text      = KeyImputManager.GetKeyBind("Left");
         Right.text     = KeyImputManager.GetKeyBind("Right");
         DashLeft.text  = KeyImputManager.GetKeyBind("DashLeft");
         DashRight.text = KeyImputManager.GetKeyBind("DashRight");
         Jump.text      = KeyImputManager.GetKeyBind("Jump");
         interact.text  = KeyImputManager.GetKeyBind("interact");
         Attack.text    = KeyImputManager.GetKeyBind("Attack");
         Defence.text   = KeyImputManager.GetKeyBind("Defence");
         Pause.text     = KeyImputManager.GetKeyBind("Pause");
         KeyImputManager.changeKeyMapHaveChange();
     }
 }