public Toolbox(Sprite sprite, Vector2 position, InventoryHUD playerInventory, InventoryHUD toolboxInventory) : base(sprite, position) { _playerInventory = playerInventory; _toolboxInventory = toolboxInventory; _playerInventory.ToggleButtons(false); _toolboxInventory.SetActive(false); }
public override void Cancel() { _toolboxInventory.SetActive(false); _playerInventory.ToggleButtons(false); }