public void StartAssign(string keyName) // method that runs when button is pressed { newKey = KeyBinding.GetKeyCode(keyName); if (isWaiting == false) { StartCoroutine(AssignKey(keyName)); } }
public void StartAssign(string keyName) // method that runs when button is pressed { newKey = KeyBinding.GetKeyCode(keyName); if (isWaiting == false) { StartCoroutine(AssignKey(keyName)); } }