SteelSongEffect
A class in Root.Township, the global namespace.
Pooled pulse effect for the Steel Song skill: a glowing copy of the forged model's mesh that fades out over the timing window. Client side.
- Listed in Global namespace: S
- Inherits or implements
PooledObject
Constructors
| Member | What it is |
|---|---|
SteelSongEffect() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
6 private and internal fields
| Member | What it is |
|---|---|
private float animationDuration | Length of the current pulse in seconds; 0 when idle. |
private Material baseMaterial | Material that each effect copies in Awake. |
private PooledObjectDefinition meshEffectDefinition | Pool definition for the mesh effect placed on the forged model. |
private List<MeshEffect> meshEffects | Mesh effects this pulse has spawned. |
private float progress | Pulse progress, counting down from 1 to 0. |
private AnimationCurve timeProgressToAnimationProgress | Curve mapping pulse progress to the shader's _Progress value. |
Properties
| Member | What it is |
|---|---|
float RemainigTime { get; } | Time left in the current pulse. SteelSong counts a hit as good when this is under its precision leeway. |
Methods
1 private and internal method
Used in
Members of other types that take, return or hold a SteelSongEffect: