Skip to main content

SchmeecheeFleeSettings

A class in Root.Township, Alta.Intelligence.

Settings for ActiveSchmeecheeFlee: a schmeechee steers and pushes itself away from its target. Server only.

Constructors​

MemberWhat it is
SchmeecheeFleeSettings()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

1 private and internal field
MemberWhat it is
private float giveUpDistanceSquaredBacking field for GiveUpDistanceSquared (default 25, so 5 m).

Properties​

MemberWhat it is
float GiveUpDistanceSquared { get; }The flee finishes once the target is further than this squared distance.

Methods​

MemberWhat it is
protected override IAction GetAction()Builds the shared ActiveSchmeecheeFlee action for schmeechees, using a target.