Polarith AI
1.7
AIMStabilization Class Reference

Description

AIMStabilization increases the objective values along the movement direction of the agent (front-end component).

Front-end component of the underlying Move.Stabilization class. This behaviour is thread-safe.

Inheritance diagram for AIMStabilization:
AIMBehaviour IEvaluationPreparer

Public Fields

Stabilization Stabilization = new Stabilization()
 The underlying back-end behaviour class. More...
 
int Order
 Specifies the execution order of this behaviour. More...
 
string Label
 Name to identify this component, e.g. More...
 

Protected Fields

AIMContext aimContext
 Quick access reference for derived classes to the component of the associated movement AI context. More...
 
Context context
 Quick access reference for derived classes to the associated movement AI context. More...
 

Properties

override MoveBehaviour Behaviour [get]
 Polymorphic reference to the underlying back-end class (read only). More...
 
override bool ThreadSafe [get]
 Determines whether the underlying back-end class is thread-safe (read only). More...
 
bool Enabled [get, set]
 Determines whether this component is enabled. More...
 

Public Methods

override void PrepareEvaluation ()
 Checks if the SteeringBehaviour.TargetObjective is valid to use and prints appropriate debug warnings if it is not. More...
 

Protected Methods

override void Reset ()
 Reset to default values. More...
 
override void OnValidate ()
 This function is called when the script is loaded or a value is changed in the inspector (editor only). More...
 
override void OnEnable ()
 This method is called when the object becomes enabled and active. More...
 
virtual void Awake ()
 Awake is called when the script instance is being loaded. More...
 
virtual void OnDisable ()
 This method is called when the behaviour becomes disabled or inactive. More...
 
virtual void OnDestroy ()
 This method is called when the MonoBehaviour will be destroyed. More...
 
List< int > GetDefaultTargetObjectives ()
 Generates a list containing all objectives currently available within the associated Context. More...
 
void CheckFirstAndCentralOrder (Type type)
 Should be used in OnValidate for derived classes to ensure that they are executed at first. More...
 
void CheckLastOrder (Type type)
 Should be used in OnValidate for derived classes to ensure that they are executed at last. More...
 
Imprint