A class in Root.Township, Alta.Intelligence.
Prefab scoring component for schmeechees: one value when the schmeechee is grounded (or upside down), another when it isn't.
Constructors
| Member | What it is |
|---|
SchmeecheeOperation() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
4 private and internal fields
| Member | What it is |
|---|
private float falseValue | Value when the condition doesn't hold (default 0). |
private float multiplier | Weight of the rule. Only matters for preferred rules. |
private Schmeechee.OperationType operation | Which condition to check: Grounded or UpsideDown. |
private float trueValue | Value when the condition holds (default 1). |
Methods
| Member | What it is |
|---|
override TargetOperation GetOperation() | Makes a Schmeechee.Operation rule with these values, weighted by multiplier. |
protected override string GetName() | Names the GameObject "Schmee Grounded" or "Schmee Upside Down". |