EffectOverTimeWorker

A worker for over time effects (effects that do something per second).

Inherits from SkillTreeTimeWorker.

Properties

NameDescriptionType

skill

The skill node.

SkillNode

onSecondPassed

An action to execute whenever a second passes.

Action<SkillNode>

repeatAmount

The max number of times to repeat the effect.

int

repeatCount

The number of times currently repeated.

int

Methods

CreateInstance

Return Type: EffectOverTimeWorker

Creates and starts a time worker for skill EOT (effect over time).

Parameters

NameDescriptionType

skill

The skill.

SkillNode

oneSecondPassed

An action to perform whenever a second is passed.

Action<SkillNode>

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: "EOTWorker".

string

Last updated