Class SimpleTagCondition
Base class for any condition that just wants to check the existence for a specific semantic tag
Inheritance
SimpleTagCondition
Syntax
[ComponentTooltip("Requires the object to have a specific trait")]
public abstract class SimpleTagCondition : Condition<bool>, ISimulatable, ISemanticTagCondition, ICondition<bool>, ICondition, IConditionBase, IRequiresTraits<bool>, IRequiresTraits, ICreateFromData
Properties
matchRule
Declaration
public SemanticTagMatchRule matchRule { get; }
Property Value
Implements
Methods
Declaration
public string FormatDataString(TraitDataSnapshot data)
Parameters
Returns
Implements
GetConditionRatingForData(TraitDataSnapshot)
Declaration
public float GetConditionRatingForData(TraitDataSnapshot data)
Parameters
Returns
Implements
IncludeData(TraitDataSnapshot)
Declaration
public void IncludeData(TraitDataSnapshot data)
Parameters
Implements
OptimizeForData(TraitDataSnapshot)
Declaration
public void OptimizeForData(TraitDataSnapshot data)
Parameters
Implements
RateDataMatch(ref Boolean)
Declaration
public override float RateDataMatch(ref bool data)
Parameters
Returns
Overrides
Unity.MARS.Condition<System.Boolean>.RateDataMatch(System.Boolean)
Implements
Extension Methods