예제 #1
0
 public void Populate()
 {
     foreach (AbilityTreeButton button in _buttons)
     {
         button.Populate();
     }
     if (lastHoveredAbility != null)
     {
         _buttonsById.TryGetValue(lastHoveredAbility.id, out AbilityTreeButton button);
         Color color = button.GetActualColor();
         _tooltip.PopulateTooltip(lastHoveredAbility, color);
     }
 }