Defines a threshold which must be met for decisions to be selected to the current decision.

public abstract class InitialPrefabs.DaniAI.Condition
    : ScriptableObject


Type Name Summary
String Comments Notes and descriptions related to the condition.
Object CompareValue The value that the condition uses to generate a weight.
int Id The condition’s unique id.


Type Name Summary
float CalculateLocalWeight() Overridable method that translates the observer’s output into a weight usable by the Decision. Weights should be in the range [0, 1], where 1 is true and 0 is false.
© initialPrefabs 2019