public void Initialize(ServiceWindow serviceWindow, UsableItem element, int playerAmount) { _serviceWindow = serviceWindow; _element = element; _icon.sprite = _element.Sprite; _playerAmount = playerAmount; }
public void Initialize(ServiceWindow sw, UsableItem item, int playerAmount) { _serviceWindow = sw; _usableItem = item; _amount = playerAmount; RefreshText(playerAmount); }