Exemple #1
0
 /// <summary>
 /// Occurs when the spend skill point +/- buttons are pressed.
 /// </summary>
 /// <param name="eventData">Event sender, unused.</param>
 public void OnClick(BaseEventData eventData)
 {
     if (DisplayUI)
     {
         DisplayUI.SpendSkillPoint(Type);  // spend the skill point
     }
 }