public void ProcessKeyRepeat(KeyCode key) { if ((GlobalHandler != null) && !GlobalHandler.OnKeyRepeat(key)) { return; } LinkedListNode <IKeyHandler> node = Handlers.First; while (node != null) { if (!node.Value.OnKeyRepeat(key)) { break; } node = node.Next; } }