Constructor SkillMatch
SkillMatch(AgentSkill, float, string, bool)
Initializes a new instance of the SkillMatch class.
public SkillMatch(AgentSkill skill, float score, string matchedTrigger = null, bool isExplicitTrigger = false)
Parameters
skillAgentSkillThe matched skill.
scorefloatThe match score (0.0 to 1.0).
matchedTriggerstringThe trigger that caused the match, if any.
isExplicitTriggerboolWhether this was an explicit trigger match.
Exceptions
- ArgumentNullException
Thrown when
skillisnull.- ArgumentOutOfRangeException
Thrown when
scoreis not between 0.0 and 1.0.