ActionGlyphsPlacer
A class in Root.Township, the global namespace.
Shows a profession skill's practice glyphs as a vertical stack of pooled ActionGlyphAnimator objects inside a set area. Used by SkillShrineTestingArea.
- Listed in Global namespace: A to B
- Inherits or implements
MonoBehaviour
Constructors
| Member | What it is |
|---|---|
ActionGlyphsPlacer() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
4 private and internal fields
| Member | What it is |
|---|---|
private PooledObjectDefinition actionGlyphPool | Pool the glyph objects come from. |
private List<ActionGlyphAnimator> activeActionGlyphs | The glyphs shown now. |
private int debugCount | Number of sample positions drawn in the editor gizmo. |
private Vector2 maxSize | Size of the area the glyphs are stacked in. |
Methods
| Member | What it is |
|---|---|
void ActiveSkill(ProfessionSkill skill) | Shows the skill's practice glyphs, reusing existing glyphs where possible and releasing extras. |
void Close() | Releases every shown glyph. |
void Reposition() | Spaces the glyphs evenly from top to bottom of maxSize and scales them by one over the count. |
1 private and internal method
Used in
Members of other types that take, return or hold a ActionGlyphsPlacer: