title: Compiler Warning CS0067 : The event is never used
body: <p>I have an event that I am using, so I don't really understand what this warning really means. Can someone clarify?</p>
  
  <pre><code>public abstract class Actor&lt;T&gt; : Visual&lt;T&gt; where T : ActorDescription
  {
      #region Events
      /// &lt;summary&gt;
      /// Event occurs when the actor is dead
      /// &lt;/summary&gt;
      public event Action Dead;
      #endregion
  
  /// &lt;summary&gt;
      /// Take damage if the actor hasn't taken damage within a time limit
      /// &lt;/summary&gt;
      /// &lt;param name="damage"&gt;amount of damage&lt;/param&gt;
      public void TakeDamage(int damage)
      {
          if (damage &gt; 0 &amp;&amp; Time.time &gt; m_LastHitTimer + m_DamageHitDelay)
          {
              m_CurrentHealth -= damage;
  
              if (m_CurrentHealth &lt;= 0)
              {
                  m_CurrentHealth = 0;
  
                  if (Dead != null)
                      Dead();
              }
              else
                  StartCoroutine(TakeDamageOnSprite());
  
              m_LastHitTimer = Time.time;
          }
      }
  </code></pre>
  
  <p>In my other class, I register and unregister for the event:</p>
  
  <pre><code>        if (m_Player != null)
              m_Player.Dead += OnPlayerDead;
  
          if (m_Player != null)
              m_Player.Dead -= OnPlayerDead;
  </code></pre>