Пример #1
0
 public void Initialize(ServiceWindow serviceWindow, UsableItem element, int playerAmount)
 {
     _serviceWindow = serviceWindow;
     _element       = element;
     _icon.sprite   = _element.Sprite;
     _playerAmount  = playerAmount;
 }
Пример #2
0
 public void Initialize(ServiceWindow sw, UsableItem item, int playerAmount)
 {
     _serviceWindow = sw;
     _usableItem    = item;
     _amount        = playerAmount;
     RefreshText(playerAmount);
 }