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
| Member | What it is |
|---|
SenseSetup() | Creates a SenseSetup with default values. |
Fields
3 private and internal fields
| Member | What it is |
|---|
private SenseOld sense | Obsolete legacy enum sense; should be left as None. |
private BasicSense type | Backing field for Sense. |
private float value | Backing field for Value. |
Properties
| Member | What 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
| Member | What 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: