Class WaitForSecondsSequence
Animation which waits for a given duration.
Inheritance
System.Object
WaitForSecondsSequence
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: AnimationHelpers
Assembly: cs.temp.dll.dll
Syntax
public class WaitForSecondsSequence : IAnmationSequence
Constructors
WaitForSecondsSequence(Single)
Crate a new instance of WaitForSecondsSequence
Declaration
public WaitForSecondsSequence(float duration)
Parameters
Type | Name | Description |
---|---|---|
System.Single | duration | Duration in seconds |
Methods
ConstructCoroutine()
Construct a coroutine which perfomece the animation every frame
Declaration
public IEnumerator ConstructCoroutine()
Returns
Type | Description |
---|---|
IEnumerator |
Reverse()
Does nothing.
Declaration
public void Reverse()
StartManualAnimation()
Start the animation manual
Declaration
public void StartManualAnimation()
UpdateAnimation()
Updates the animation values
Declaration
public bool UpdateAnimation()
Returns
Type | Description |
---|---|
System.Boolean | Is the animation still running (false when finished) |