counterModel.Count.OnValueChanged += newCount =>
{
//处理
}
跟
counterModel.Count.OnValueChanged+= OnCountChanged;
private void OnCountChanged(int newCount)
{
//处理
}
counterModel.Count.OnValueChanged += newCount =>
{
//处理
}
跟
counterModel.Count.OnValueChanged+= OnCountChanged;
private void OnCountChanged(int newCount)
{
//处理
}