-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAnimationStyles.cs
More file actions
29 lines (26 loc) · 800 Bytes
/
AnimationStyles.cs
File metadata and controls
29 lines (26 loc) · 800 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
namespace AnimatedLabel;
public enum AnimationStyles
{
/// <summary>
/// No animation playing.
/// </summary>
None,
/// <summary>
/// All the letters will play at the same time,
/// controlled only by the <see cref="AnimatedFont"/>.
///
/// If an animation finishes before the longest one,
/// it will pause until the other animations are finished.
///
/// This is the best performant method.
/// </summary>
Synchronized,
/// <summary>
/// If a letter's animation finishes before the longest one
/// it will instantly loop back and desynchronize from the others.
///
/// This method will be less performant since it has to track
/// the current frame for every letter.
/// </summary>
InstantLoop,
}