Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jozzzzep authored Nov 23, 2020
1 parent 70fbf06 commit 2f967c9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ attackCooldown.Deactivate();
```
# Documentations
### CooldownsManager
![img](https://i.imgur.com/trJDZ2P.jpg)
A class for handling and managing multiple cooldowns efficiently.
![img](https://i.imgur.com/s6orwHe.jpg)

- Methods
- **Update()**
Call this method inside Update() in a MonoBehaviour inherited class.
Expand All @@ -103,7 +105,10 @@ attackCooldown.Deactivate();
Subscribes the cooldown created to the Update() method of the CooldownsManager it has been created with.

### Cooldown
![img](https://i.imgur.com/kHITH1f.jpg)
A class for handling a single cooldown in Unity using a timer.
It is recommended to create a CooldownManager inside a class you want to use cooldowns in.
![img](https://i.imgur.com/kHITH1f.jpg)

- Properties
- **IsActive**
Determines if the cooldown is currently active.
Expand Down

0 comments on commit 2f967c9

Please sign in to comment.