Skip to main content

GhostHandSettings

A class in Root.Township, the global namespace.

Settings asset for ghost hands: whether they fade and how alpha changes with distance from the real hand.

Constructors​

MemberWhat it is
GhostHandSettings()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

2 private and internal fields
MemberWhat it is
private AnimationCurve alphaByDistanceBacking field for AlphaByDistance.
private bool isFadingAlphaBacking field for IsFadingAlpha.

Properties​

MemberWhat it is
AnimationCurve AlphaByDistance { get; }Curve from distance to ghost hand alpha.
bool IsFadingAlpha { get; }Whether ghost hand alpha updates with distance. CharacterIKController restores this after showing hands fully.

Used in​

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