Example #1
0
 private void UpdateDisplay()
 {
     if (dropdown.options[dropdown.value].text.CompareTo("None") == 0)
     {
         info.clear();
         monster.Clear();
         equipment.Clear();
     }
     else
     {
         info.updateDungeonInfo(dropdown.options[dropdown.value].text);
         monster.Clear();
         equipment.Clear();
         monster.updateMonsterInformation(dropdown.options[dropdown.value].text);
         equipment.updateEquipmentInformation(dropdown.options[dropdown.value].text);
     }
 }