ShellAnimationHandler
A class in Root.Township, Alta.PlayerEffects.
One request to show a shell effect on a player through StatEffectShellAnimator, which queues requests by priority.
- Listed in Players and characters
Constructors
| Member | What it is |
|---|---|
ShellAnimationHandler(ShellSetting setting, DurationCurve curve, float targetProgress, float priority, StatEffectShellAnimator animator) | Creates a ShellAnimationHandler from setting, curve, targetProgress, priority and animator. |
Fields
| Member | What it is |
|---|---|
Action<ShellAnimationHandler> Deactivated | Called when Deactivate runs. |
2 private and internal fields
| Member | What it is |
|---|---|
private StatEffectShellAnimator animator | The shell animator whose material this handler sets. |
private ShellSetting setting | The shell setting applied to the animator's material by SetMaterial. |
Properties
| Member | What it is |
|---|---|
DurationCurve Curve { get; } | Timing curve for animating to TargetProgress. |
bool IsActive { get; private set; } | True until Deactivate is called. |
float Priority { get; } | Queue priority in the animator. |
float TargetProgress { get; } | Shell progress to animate to. |
Methods
Used in
Members of other types that take, return or hold a ShellAnimationHandler:
StatEffectShellAnimator.AnimateShield, StatEffectShellAnimator.currentHandler, StatEffectShellAnimator.CurrentHandler, StatEffectShellAnimator.HandlerDeactivated, StatEffectShellAnimator.ShellAnimationHandlerNode.Handler, StatEffectShellAnimator.ShellAnimationHandlerNode.ShellAnimationHandlerNode, PlayerEffectManager.StatEffectApplication.handler.