/// <summary> /// Adds an action to the internal list of actions. /// </summary> /// <param name="action">The action to add.</param> public void AddAction(GUIAction action) { if (action == null) { throw new NullReferenceException("Action is null"); } m_Actions.Add(action); }
/// <summary> /// Removes an action from the internal list of actions. /// </summary> /// <param name="action">The action to remove.</param> public void RemoveAction(GUIAction action) { m_Actions.Remove(action); }