Skip to main content

SenseSetup

A class in Root.Township, Alta.Intelligence.

A serialized pair of a sense and a value, used in AI settings. Still supports the old SenseOld enum for older assets.

Constructors​

MemberWhat it is
SenseSetup()Creates a SenseSetup with default values.

Fields​

3 private and internal fields
MemberWhat it is
private SenseOld senseObsolete legacy enum sense; should be left as None.
private BasicSense typeBacking field for Sense.
private float valueBacking field for Value.

Properties​

MemberWhat it is
BasicSense Sense { get; }The sense asset, falling back to the asset mapped from the old enum value.
float Value { get; set; }The number paired with the sense.

Methods​

MemberWhat it is
void Fix()Replaces an old enum sense with its asset and clears the enum once found.

Used in​

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