Polarith AI
1.7
Validator Class Referenceabstract

Description

A Validator is used for verifying something specific by calling the method Validate.

Hence, the class is intended to be used as a base class so that different validators can be stored in a list.

Usage: For example, create a List<T> of type Validator and fill the list with your custom Validator instances. Note, the custom data required for each validator needs to be transferred manually in-code before Validate is called.

Inheritance diagram for Validator:
DistanceValidator NavMeshAgentValidator TargetValidator TimeValidator

Public Fields

bool Enabled = false
 Determines if this Validator instance is enabled. More...
 

Public Methods

abstract bool Validate ()
 Validates something specific. More...
 
Imprint