Exemple #1
0
    /// <summary>
    /// Called by the UI.
    /// </summary>
    public void OnModifyButtonClicked()
    {
        //First approach
        foreach (Modifier modifier in _modifiers)
        {
            modifier.Modify();
        }

        // Second approach
        MessageSystem.TriggerModifyButtonClicked();
    }