Skip to main content

SchmeecheeOperation

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​

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

Fields​

4 private and internal fields
MemberWhat it is
private float falseValueValue when the condition doesn't hold (default 0).
private float multiplierWeight of the rule. Only matters for preferred rules.
private Schmeechee.OperationType operationWhich condition to check: Grounded or UpsideDown.
private float trueValueValue when the condition holds (default 1).

Methods​

MemberWhat 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".