Skip to main content

SpiritModeShellAnimator

A class in Root.Township, the global namespace.

Shell effect around a player character for spirit mode, driven by the shell material's _Progress value. Client side; built with the character and a sample material.

Constructors​

MemberWhat it is
SpiritModeShellAnimator(PlayerCharacter character, Material shellMaterialSample)Creates a SpiritModeShellAnimator from character and shellMaterialSample.

Fields​

MemberWhat it is
static readonly int _ProgressShader property ID for _Progress.

Properties​

MemberWhat it is
protected override string MeshName { get; }Name of the shell mesh to use. Never set in the decompiled code, so probably null (the combat and stat effect shells give fixed names).

Methods​

MemberWhat it is
void AnimateSpiritMode(float start, float target, DurationCurve curve)Starts a coroutine on the character that animates _Progress from start to target along the curve.
void ResetShell()Sets the shell material's _Progress back to 0.

Used in​

Members of other types that take, return or hold a SpiritModeShellAnimator: