this idiot forgot to commit an entire month's worth of code
This commit is contained in:
parent
c67146ea1a
commit
a3321d361c
51 changed files with 3644 additions and 84 deletions
|
|
@ -0,0 +1,16 @@
|
|||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
public class KillCooldownRuntimeObject : MonoBehaviour
|
||||
{
|
||||
public PlayerAbility ability;
|
||||
private void Start()
|
||||
{
|
||||
Enemy.OnKill += UpdateKills;
|
||||
}
|
||||
|
||||
public void UpdateKills()
|
||||
{
|
||||
ability.currentCooldown -= 1;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue