public void UnregisterButton(string name) { FormEvent button = registeredButtons[name]; button.UnsubscribeAll(); registeredButtons.Remove(name); }
public void RegisterButton(FormEvent button) { registeredButtons.Add(button.name, button); }