protected override void UnsubscribeValueChanged(object instance) { base.UnsubscribeValueChanged(instance); foreach (var masterGroup in m_masterGroups) { ValueChangedEventManager.RemoveListener(instance, this, masterGroup); } foreach (var dependencyGroup in m_dependencyGroups) { ValueChangedEventManager.RemoveListener(instance, this, dependencyGroup); } }
protected virtual void UnsubscribeValueChanged(object instance) { ValueChangedEventManager.RemoveListener(instance, this, m_descriptor); }