Class AbstractUpdatable
- Namespace
- FriedSynapse.FlowEnt
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
onStarting
protected Action onStarting
Field Value
onUpdating
protected Action<float> onUpdating
Field Value
Properties
Id
A value used to identify the current updatable that is automatically assigned.
public ulong Id { get; }
Property Value
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
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
boolIf 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.