Skip to content

Action Progress

Instead of GetProgress methods, set the Progress property.

Before:

public override float GetProgress()
{
    return Mathf.Min(timer / time.Value, 1f);
}

Now:

public override void Execute()
{
    ...

    Progress = _Mathf.Min(timer / time.Value, 1f);
}