Table of Contents

Class AbstractUpdatable

Provides common options for behaviours that require frame update.

public abstract class AbstractUpdatable : FastListItem<AbstractUpdatable>
Inheritance
AbstractUpdatable
Derived
Inherited Members
Extension Methods

Constructors

AbstractUpdatable()

Creates a new instance using FlowEntController.

protected AbstractUpdatable()

Fields

onCompleting

protected Action onCompleting

Field Value

Action

onStarting

protected Action onStarting

Field Value

Action

onUpdating

protected Action<float> onUpdating

Field Value

Action<float>

Properties

Id

A value used to identify the current updatable that is automatically assigned.

public ulong Id { get; }

Property Value

ulong

Remarks

The value is generated and it automatically increments starting from 0.

Name

A name that can be used to identify the animation. Empty by default.

public string Name { get; set; }

Property Value

string

Methods

Reset()

Resets the animation.

public void Reset()

ResetInternal()

protected virtual void ResetInternal()

Stop(bool)

Stops the animation.

public void Stop(bool triggerOnCompleted = false)

Parameters

triggerOnCompleted bool

If set to true will trigger the "OnCompleted" event on the animation

StopInternal(bool)

protected virtual void StopInternal(bool triggerOnCompleted)

Parameters

triggerOnCompleted bool

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.