예제 #1
0
 private void SetSelected(BaseHardSkillSlot slot, bool selected)
 {
     if (selected)
     {
         UnDisplayedHardSkillDescription(slot);
         SetAllSelectedToFalse(false);
         slot.IsSelected(false);
     }
     else
     {
         SetAllSelectedToFalse(true);
         slot.IsSelected(true);
         DisplayedHardSkillDescription(slot);
     }
 }
예제 #2
0
    private void DisplayedHardSkillDescription(BaseHardSkillSlot hardSkillSlot)
    {
        Reset();
        //title
        DisplayDescriptionBox(true);
        SetTitleText(hardSkillSlot.HARDSKILL.Hardskill_name, INST_HardSkill);

        hardskill_description.SetActive(true);
        text_hardskill_level.text       = hardSkillSlot.HARDSKILL.CurrentLevel.ToString();
        text_hardskill_currentExp.text  = hardSkillSlot.HARDSKILL.CurrentExp.ToString();
        text_hardskill_requiredExp.text = hardSkillSlot.HARDSKILL.GetExpRequire().ToString();
        text_hardskill_description.text = hardSkillSlot.HARDSKILL.Hardskill_description;
        image_hardskill_exp.fillAmount  = hardSkillSlot.HARDSKILL.GetExpFillAmount();

        status_Generator.CreateTemplate(hardSkillSlot.HARDSKILL);
    }
예제 #3
0
 private void UnDisplayedHardSkillDescription(BaseHardSkillSlot hardSkillSlot)
 {
     DisplayDescriptionBox(false);
     hardskill_description.SetActive(false);
 }
예제 #4
0
 private void SelectedHardSkillDisplayed(BaseHardSkillSlot hardSkillSlot, bool selected)
 {
     SetSelected(hardSkillSlot, selected);
 }
예제 #5
0
 private void OnLeftClickHardSkillSlotHandler(BaseHardSkillSlot hardSkillSlot, bool selected)
 {
     OnLeftClickHardSkillSlotEvent?.Invoke(hardSkillSlot, selected);
 }
예제 #6
0
 private void OnPointEnterHardSkillSlotHandler(BaseHardSkillSlot hardSkillSlot)
 {
     OnPointEnterHardSkillSlotEvent?.Invoke(hardSkillSlot);
 }