InteractionRequirement Class |
Namespace: ImmerseSDK.Interaction
[SerializableAttribute] public sealed class InteractionRequirement
The InteractionRequirement type exposes the following members.
Name | Description | |
---|---|---|
InteractionRequirement | Initializes a new instance of the InteractionRequirement class |
Name | Description | |
---|---|---|
Comparison |
The type of comparison used to test the requirement
| |
Target |
The indexed object with state that is tested by this requirement
| |
Value |
The state value to test for in this requirement check
|
Name | Description | |
---|---|---|
IsMet |
Returns the result of the comparison between the target's current state and the value specified by this requirement
| |
IsMet(IndexedMonoBehaviourWithState, Int32, Int32) |
Returns the result of comparing the given value with the target's current state
| |
ToString |
Returns a text summary of the current rule state
(Overrides ObjectToString.) |
Name | Description | |
---|---|---|
_comparison |
Type of comparison
| |
_target |
Indexed object with state that will be used as the first value
| |
_value |
State value to test against (will be the second value)
|