public void ShowEquipment() { if (!Enabled) { Show(); } EquipmentWindowComponent equipment = equipmentWindow.Component as EquipmentWindowComponent; equipment.SetEnabled(true); equipmentWindow.Show(); }
public void HideEquipment() { if (!inventoryWindow.Enabled) { Hide(); } EquipmentWindowComponent equipment = equipmentWindow.Component as EquipmentWindowComponent; equipment.SetEnabled(false); equipmentWindow.Hide(); }