protected virtual void OnSponsorTaken(SponsorTakenEventArgs e)
 {
     if (SponsorTaken != null)
     {
         SponsorTaken(this, e);
     }
 }
    private void SelectorMenu_SponsorTaken(object sender, SponsorTakenEventArgs e)
    {
        var sponsorSelected = Database.instance.ListofSponsors.IndexOf(e.SponsorTaken);

        if (sponsorSelected == m_SponsorSelection && m_CurrentSelectionState == SelectionState.Selection)
        {
            m_TakenImage.enabled = e.Status == SponsorStatus.Taken;
        }
    }
 private void SelectorMenu_SponsorTaken(object sender, SponsorTakenEventArgs e)
 {
     var sponsorSelected = Database.instance.ListofSponsors.IndexOf(e.SponsorTaken);
     if (sponsorSelected == m_SponsorSelection && m_CurrentSelectionState == SelectionState.Selection)
     {
         m_TakenImage.enabled = e.Status == SponsorStatus.Taken;
     }
 }
 protected virtual void OnSponsorTaken(SponsorTakenEventArgs e)
 {
     if (SponsorTaken != null) SponsorTaken(this, e);
 }