Class Condition
Base class for MARS Proxy conditions, which provide ratings for Proxy data matches In most cases, you should inherit from the generic form, Condition<T>
Namespace: Unity.MARS
Syntax
public abstract class Condition : ConditionBase, ISimulatable, ICondition, IConditionBase, IRequiresTraits
Properties
traitName
What trait this condition is testing against
Declaration
public string traitName { get; }
Property Value
Type | Description |
---|---|
String |
Implements
Methods
GetRequiredTraits()
Get the TraitRequirements that are required by this object
Declaration
public abstract TraitRequirement[] GetRequiredTraits()
Returns
Type | Description |
---|---|
TraitRequirement[] | The required traits |