AiMalgam Core 1.1.0
API documentation for the generic Unity3D AI System
|
A condition wrapper class to validate AiMalgamEntitys for AI decision making and action execution. Is visible and assignable in the Unity inspector More...
Public Member Functions | |
virtual AiMalgamConditionResult | IsConditionMetFor (AiMalgamEntity targetAiMalgamEntity, AiMalgamEntity conditionsRequesterEntity) |
Inherit this and implement your custom condition! More... | |
Public Member Functions inherited from NikosAssets.AiMalgam.Settings.AiMalgamNode | |
override void | OnOpen () |
Called if the AiMalgamNodeGraph hosting this Node is opened | |
virtual void | NotifyOnNodeChanged () |
A helper method to notify node value changes and emit the OnNodeChanged event | |
override object | GetValue (NodePort port) |
Used in the AiMalgamNodeGraph. More... | |
virtual void | ResetMarkingInGraph (AiMalgamEntity requester, bool forceRepaint=false) |
EDITOR ONLY EFFECT. Reset the node's visuals in the AiMalgamNodeGraph More... | |
virtual void | MarkInGraph (AiMalgamEntity requester, bool acceptedOrFailed, bool forceRepaint=false) |
EDITOR ONLY EFFECT. Set the node's visuals in the AiMalgamNodeGraph (accepted or failed) More... | |
virtual void | MarkInGraph (AiMalgamEntity requester, Color markColor, bool forceRepaint=false) |
EDITOR ONLY EFFECT. Set the node's visuals in the AiMalgamNodeGraph More... | |
Public Attributes | |
AiMalgamBaseCondition | output |
Used in the AiMalgamNodeGraph. Do not temper with it! | |
Additional Inherited Members | |
Protected Member Functions inherited from NikosAssets.AiMalgam.Settings.AiMalgamNode | |
override void | Reset () |
override void | OnEnable () |
override void | Awake () |
override void | OnValidate () |
Events inherited from NikosAssets.AiMalgam.Settings.AiMalgamNode | |
virtual Action< AiMalgamNode > | OnNodeChanged |
Emitted, if the node values where changed (OnValidate()) | |
A condition wrapper class to validate AiMalgamEntitys for AI decision making and action execution. Is visible and assignable in the Unity inspector
|
virtual |
Inherit this and implement your custom condition!
targetAiMalgamEntity | The AiMalgamEntity to check the condition on |
conditionsRequesterEntity | The AiMalgamEntity that calls this condition (may be the same as targetAiMalgamEntity ) |
Reimplemented in NikosAssets.AiMalgam.Settings.Conditions.AiMalgamANDConditionsContainer, NikosAssets.AiMalgam.Settings.Conditions.AiMalgamConditionInverter, NikosAssets.AiMalgam.Settings.Conditions.AiMalgamLayerCondition, NikosAssets.AiMalgam.Settings.Conditions.AiMalgamNameCondition, NikosAssets.AiMalgam.Settings.Conditions.AiMalgamORConditionsContainer, NikosAssets.AiMalgam.Settings.Conditions.AiMalgamRandomCondition, NikosAssets.AiMalgam.Settings.Conditions.AiMalgamStateCondition, and NikosAssets.AiMalgam.Settings.Conditions.AiMalgamTagCondition.