ActionGlyphAnimator
A class in Root.Township, the global namespace.
Pooled sprite that fades a skill practice glyph in and out. Spawned and placed by ActionGlyphsPlacer.
- Listed in Global namespace: A to B
- Inherits or implements
PooledObject
Constructors
| Member | What it is |
|---|---|
ActionGlyphAnimator() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
6 private and internal fields
| Member | What it is |
|---|---|
private Renderer androidSpriteRenderer | Separate renderer for Android. Not used in this class's code. |
private DurationCurve fadeCurve | Curve and duration used for the alpha fades. |
private Coroutine fadingInCoroutine | The running fade in, if any. |
private Coroutine fadingOutCoroutine | The running fade out, if any. |
private Sprite nextGlyph | Sprite to show once the fade in starts. |
private SpriteRenderer spriteRenderer | Renderer that shows the glyph sprite. |
Methods
4 private and internal methods
Used in
Members of other types that take, return or hold a ActionGlyphAnimator: