-
-
Notifications
You must be signed in to change notification settings - Fork 0
Logic Compare
Henry de Jongh edited this page Mar 10, 2023
·
1 revision
| Description | Icon |
|---|---|
| A reactive logic component that compares two numbers and invokes an output depending on their relationship. |
|
| Name | Description |
|---|---|
| Compare Value | The compare value to test the input against. |
| Name | Description | Parameter |
|---|---|---|
| SetValue | Sets the input value to the float parameter without performing the test. |
value (float) The input value to be tested. |
| SetValueTest | Sets the input value to the float parameter and performs the test. |
value (float) The input value to be tested. |
| SetCompareValue | Sets the compare value to the float parameter without performing the test. |
value (float) The compare value to test the input against. |
| SetCompareValueTest | Sets the compare value to the float parameter and performs the test. |
value (float) The compare value to test the input against. |
| Test | Performs the test comparing the numbers and invoking the outputs accordingly. | None |
| Name | Description | Parameter |
|---|---|---|
| Less | Invoked when the input value is less than the compare value. |
parameter (float) The unmodified input value. |
| Equal | Invoked when the input value is equal to the compare value. |
parameter (float) The unmodified input value. |
| NotEqual | Invoked when the input value is not equal to the compare value. |
parameter (float) The unmodified input value. |
| Greater | Invoked when the input value is greater than the compare value. |
parameter (float) The unmodified input value. |
The Equals output uses Mathf.Approximately for additional numeric stability.
| Logic Components | Terminology | Programming | External Components | |
|---|---|---|---|---|
| Logic Animator | Activator | Custom Logic | Reactive Dynamic Light | |
| Logic Auto | Caller | Custom Inspector | ||
| Logic Branch | Delay | Use Key | ||
| Logic Case | Target | |||
| Logic Collision Pair | User Inputs | |||
| Logic Compare | ||||
| Logic Counter | ||||
| Logic Destroy | ||||
| Logic Filter | ||||
| Logic Group | ||||
| Logic Instantiate | ||||
| Logic Log | ||||
| Logic Move Linear | ||||
| Logic Relay | ||||
| Logic Timer | ||||
| Logic Trigger | ||||
| Logic Unity |
