Skip to main content

HoverAnimator.HoverAnimationState

A private class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

Private per-object state for HoverAnimator: one per hovering child transform.

Constructors​

MemberWhat it is
HoverAnimationState()Creates a HoverAnimator.HoverAnimationState with default values.

Properties​

MemberWhat it is
Vector3 AnimationOffset { get; set; }Random time offset per axis, so objects don't bob in step.
DragTrigger DragTrigger { get; set; }Optional DragTrigger on the object; its drag pull is added to the hover position.
Vector3 StartLocalPosition { get; set; }Local position the hover animation moves around.
Transform Transform { get; set; }The object being animated.

Used in​

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