Table of Contents

Class AbstractAnimationEvents

Provides common events for animations.

public abstract class AbstractAnimationEvents
Inheritance
AbstractAnimationEvents
Derived
Inherited Members
Extension Methods

Properties

OnCompletedEvent

The event called when the animation has completed.

public Action OnCompletedEvent { get; set; }

Property Value

Action

OnCompletingEvent

The event called when the animation is completing.

public Action OnCompletingEvent { get; set; }

Property Value

Action

OnLoopCompletedEvent

The event called when the animation loop has completed.

public Action<int?> OnLoopCompletedEvent { get; set; }

Property Value

Action<int?>

OnLoopStartedEvent

The event called when the animation loop has started.

public Action<int?> OnLoopStartedEvent { get; set; }

Property Value

Action<int?>

OnStartedEvent

The event called when the animation has started.

public Action OnStartedEvent { get; set; }

Property Value

Action

OnStartingEvent

The event called when the animation is starting.

public Action OnStartingEvent { get; set; }

Property Value

Action

OnUpdatedEvent

The event called when the animation has updated.

public Action<float> OnUpdatedEvent { get; set; }

Property Value

Action<float>

OnUpdatingEvent

The event called when the animation is updating.

public Action<float> OnUpdatingEvent { get; set; }

Property Value

Action<float>

Methods

OnCompleted(Action)

Adds an event called when the animation has completed.

public AbstractAnimationEvents OnCompleted(Action callback)

Parameters

callback Action

The event.

Returns

AbstractAnimationEvents

OnCompleting(Action)

Adds an event called when the animation is completing.

public AbstractAnimationEvents OnCompleting(Action callback)

Parameters

callback Action

The event.

Returns

AbstractAnimationEvents

OnLoopCompleted(Action<int?>)

Adds an event called when the animation loop has completed.

public AbstractAnimationEvents OnLoopCompleted(Action<int?> callback)

Parameters

callback Action<int?>

The event. The parameter represents the number of loops left. If there are infinite loops it'll send a null param.

Returns

AbstractAnimationEvents

OnLoopStarted(Action<int?>)

Adds an event called when the animation loop has started.

public AbstractAnimationEvents OnLoopStarted(Action<int?> callback)

Parameters

callback Action<int?>

The event. The parameter represents the number of loops left. If there are infinite loops it'll send a null param.

Returns

AbstractAnimationEvents

OnStarted(Action)

Adds an event called when the animation has started.

public AbstractAnimationEvents OnStarted(Action callback)

Parameters

callback Action

The event.

Returns

AbstractAnimationEvents

OnStarting(Action)

Adds an event called when the animation is starting.

public AbstractAnimationEvents OnStarting(Action callback)

Parameters

callback Action

The event.

Returns

AbstractAnimationEvents

OnUpdated(Action<float>)

Adds an event called when the animation has updated.

public AbstractAnimationEvents OnUpdated(Action<float> callback)

Parameters

callback Action<float>

The event.

Returns

AbstractAnimationEvents

OnUpdating(Action<float>)

Adds an event called when the animation is updating.

public AbstractAnimationEvents OnUpdating(Action<float> callback)

Parameters

callback Action<float>

The event.

Returns

AbstractAnimationEvents