public void RemoveIOnVitalChange(IOnVitalChange cb) { var vc = cb as IOnVitalValueChange; if (!ReferenceEquals(null, vc)) { OnValueChangeCallbacks.Remove(vc); } var pc = cb as IOnVitalParamChange; if (!ReferenceEquals(null, pc)) { OnParamChangeCallbacks.Remove(pc); } }
public void RemoveIOnVitalChange(IOnVitalChange cb) { onValueChangeCallbacks.Remove(cb); }
public void AddIOnVitalChange(IOnVitalChange cb) { onValueChangeCallbacks.Add(cb); }
public void RemoveIOnVitalChange(IOnVitalChange cb) { iOnVitalChange.Remove(cb); }
public void AddIOnVitalChange(IOnVitalChange cb) { iOnVitalChange.Add(cb); }