private void RefreshCountLabel(int count) { if (count < 1) { count = 1; } if (count > m_item.StackCount) { count = m_item.StackCount; } curCount = count; countLabel.text = curCount.ToString(); itemLogic.SetSelectedCount(count); SetExpNum(m_item.GetMaterialExp(), count); }