CooldownWorker
A worker for skill cooldowns.
Inherits from SkillTreeTimeWorker.
Properties
Name | Description | Type |
---|---|---|
usedSkill | The used skill reference. | SkillNode |
Methods
CreateInstance
Return Type: CooldownWorker
Creates and starts a time worker for skill cooldowns.
Parameters
Name | Description | Type |
---|---|---|
usedSkill | The skill that was used. | UsedSkill |
onTimeUpdated | An action to perform whenever time is updated. Default: null. | Action<float> |
onComplete | An action to perform when this worker is complete. Default: null. | Action |
instanceName | The name of the instance. Default: Default: "CooldownWorker". | string |
Last updated