Пример #1
0
 private void SetImageSkillButton()
 {
     skillData = playerSc.mySkill;
     if (!LoadDataManager.instance.skillSpriteDic.ContainsKey(skillData.GetType().ToString()))
     {
         Debug.Log("해당 스킬이미지가 존재하지 않습니다.");
         return;
     }
     GetComponent <Image>().sprite = LoadDataManager.instance.skillSpriteDic[skillData.GetType().ToString()];
 }