Skip to content

Components

Ilia Petrov-Komotskii edited this page Oct 13, 2026 · 5 revisions

Scene components under Add Component → Mane Tools.

Position followers

Both follow a Transform target every Update.

  • PositionFollowerSimple — Speed is a catch-up factor (0 = stay, 1 = snap this frame). Vector3.Lerp.

PositionFollower (simple)

  • PositionFollowerByDistance — catch-up from an DistanceCurve sampled by world distance (X = distance, Y = factor). 0 stays, 1 snaps this frame. Values in between are frame-rate compensated around 60 fps, not passed straight to Lerp.

PositionFollower (by distance)

StateSyncComponent

Mirrors this object's enabled state onto a list of GameObjects. Null list and missing entries are skipped.

StateSync component example

StateChangeDetector

Raises OnStateChanged with (GameObject, State) on enable, disable, and destroy. States are Enabled, Disabled, and Destroyed.

detector.OnStateChanged += (go, state) =>
{
    if (state == StateChangeDetector.State.Disabled)
        pool.Return(go);
};

Clone this wiki locally