Click or drag to resize

InteractionRequirement Class

Encapsulates a rule that compares the current state of an indexed object to a specific value.
Inheritance Hierarchy
SystemObject
  ImmerseSDK.InteractionInteractionRequirement

Namespace:  ImmerseSDK.Interaction
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
[SerializableAttribute]
public sealed class InteractionRequirement

The InteractionRequirement type exposes the following members.

Constructors
  NameDescription
Public methodInteractionRequirement
Initializes a new instance of the InteractionRequirement class
Top
Properties
  NameDescription
Public propertyComparison
The type of comparison used to test the requirement
Public propertyTarget
The indexed object with state that is tested by this requirement
Public propertyValue
The state value to test for in this requirement check
Top
Methods
  NameDescription
Public methodIsMet
Returns the result of the comparison between the target's current state and the value specified by this requirement
Public methodStatic memberIsMet(IndexedMonoBehaviourWithState, Int32, Int32)
Returns the result of comparing the given value with the target's current state
Public methodToString
Returns a text summary of the current rule state
(Overrides ObjectToString.)
Top
Fields
  NameDescription
Private field_comparison
Type of comparison
Private field_target
Indexed object with state that will be used as the first value
Private field_value
State value to test against (will be the second value)
Top
See Also