예제 #1
0
        public void ShowEquipment()
        {
            if (!Enabled)
            {
                Show();
            }
            EquipmentWindowComponent equipment = equipmentWindow.Component as EquipmentWindowComponent;

            equipment.SetEnabled(true);
            equipmentWindow.Show();
        }
예제 #2
0
        public void HideEquipment()
        {
            if (!inventoryWindow.Enabled)
            {
                Hide();
            }
            EquipmentWindowComponent equipment = equipmentWindow.Component as EquipmentWindowComponent;

            equipment.SetEnabled(false);
            equipmentWindow.Hide();
        }