Exemplo n.º 1
0
 private bool IsAbilityAvailable(SpecialAbilityConfig ability)
 {
     // TODO: switch to cached countdown timer
     return(Time.time - ability.lastHitTime > ability.GetCooldown());
 }