public void AddSubscriber(IRewardSubscriber subscriber) { if (subscriber == null) { return; } m_RewardSubscribers.Add(subscriber); subscriber.SetIsSubscribed(true); }
public void RemoveSubscriber(IRewardSubscriber subscriber) { m_RewardSubscribers.Remove(subscriber); subscriber.SetIsSubscribed(false); subscriber.ResetSubscriber(); }