| | |
| | | public class RidingPetContentionWin : Window
|
| | | {
|
| | | [SerializeField] Button m_MountsGoToButton;
|
| | | [SerializeField] Text m_MountGotoLabel;
|
| | | [SerializeField] Button m_SpiritPetGoToButton;
|
| | | [SerializeField] Text m_PetGotoLabel;
|
| | | [SerializeField] ContainerRidingPet m_ContainerMounts;
|
| | | [SerializeField] ContainerRidingPet m_ContainerSpiritPet;
|
| | | [SerializeField] RidingPetBottomTip m_RidingPetBottomTip;
|
| | |
| | | case DailyQuestModel.DailyQuestState.Normal:
|
| | | m_ContainerMounts.DisplaySpiritPetHP();
|
| | | m_ContainerSpiritPet.DisplaySpiritPetHP();
|
| | | m_MountsGoToButton.interactable = true;
|
| | | m_SpiritPetGoToButton.interactable = true;
|
| | | m_MountsGoToButton.SetInteractable(m_MountGotoLabel, true);
|
| | | m_SpiritPetGoToButton.SetInteractable(m_PetGotoLabel, true);
|
| | | break;
|
| | | default:
|
| | | m_ContainerMounts.DisplayActivityTime();
|
| | | m_ContainerSpiritPet.DisplayActivityTime();
|
| | | m_MountsGoToButton.interactable = false;
|
| | | m_SpiritPetGoToButton.interactable = false;
|
| | | m_MountsGoToButton.SetInteractable(m_MountGotoLabel, false);
|
| | | m_SpiritPetGoToButton.SetInteractable(m_PetGotoLabel, false);
|
| | | break;
|
| | | }
|
| | | }
|