Exemplo n.º 1
0
 internal void UpdateBind(int bindIndex, int keyIndex, KeyCode newKey)
 {
     binds[bindIndex][keyIndex] = newKey;
     InputManager.UpdateBind(categoryName + "." + binds[bindIndex], binds[bindIndex]);
 }
Exemplo n.º 2
0
 void UpdateBind() //Updates The InputManager.Binds And Saves Changes
 {
     inputManager.UpdateBind(currentBindKeyIndex, bindKey);
     InputManager.SaveBinds();
 }