Handles AiMalgamDeciderWrappers to make an AiMalgamDecision for an AiMalgamEntity
More...
|
virtual void | Awake () |
|
virtual void | Start () |
|
virtual void | OnEnable () |
|
virtual void | OnDisable () |
|
virtual void | OnDestroy () |
|
virtual void | Reset () |
|
virtual void | OnValidate () |
|
virtual void | AutoFill () |
|
virtual void | CheckRequiredEngines () |
| Fill the _enginesRequiredByGraph array to indicate what AiMalgamBaseEngineWrappers are required to be on the hosting AiMalgamEntity
|
|
virtual void | CheckRequiredDescriptors () |
| Fill the _descriptorsRequiredByGraph array to indicate what AiMalgamBaseDescriptors are required to be on the hosting AiMalgamEntity
|
|
|
AiMalgamEntity | AiMalgamEntity [get, set] |
| The hosting AiMalgamEntity the AiMalgamDecision is meant for
|
|
AiMalgamNodeGraph | NodeGraph [get, set] |
| The AiMalgamNodeGraph to be traversed for an AiMalgamDecision
|
|
AiMalgamDecision | CurrentDecision [get] |
| The current/ last AiMalgamDecision made by this system
|
|
int | DecisionsMade = 0 [get, protected set] |
| How many AiMalgamDecisions were made by this system? Displayed in the AiMalgamNodeGraph if this is selected in Unity by the developer
|
|
Handles AiMalgamDeciderWrappers to make an AiMalgamDecision for an AiMalgamEntity
◆ HandleSettingsSequentialAsync()
virtual void NikosAssets.AiMalgam.Systems.Decisions.AiMalgamBaseDecisionSystem.HandleSettingsSequentialAsync |
( |
List< AiMalgamAsyncActionQueueHandler > |
newAsyncSettingsStorageHandlers | ) |
|
|
virtual |
◆ MakeDecision() [1/2]
virtual void NikosAssets.AiMalgam.Systems.Decisions.AiMalgamBaseDecisionSystem.MakeDecision |
( |
bool |
forceNow, |
|
|
IAiMalgamDecider |
decider |
|
) |
| |
|
virtual |
Makes a AiMalgamDecision in the next Tick call, unless its forced to do so now (forceNow == true)
- Parameters
-
forceNow | make the AiMalgamDecision now or in the next Tick. To safe performance, it is recommended to keep this set to false (unless immediate action is required of course) |
decider | The IAiMalgamDecider to traverse |
◆ MakeDecision() [2/2]
virtual void NikosAssets.AiMalgam.Systems.Decisions.AiMalgamBaseDecisionSystem.MakeDecision |
( |
bool |
forceNow = false | ) |
|
|
virtual |
Makes a AiMalgamDecision in the next Tick call, unless its forced to do so now (forceNow == true)
- Parameters
-
forceNow | make the AiMalgamDecision now or in the next Tick. To safe performance, it is recommended to keep this set to false (unless immediate action is required of course) |
◆ Tick()
virtual void NikosAssets.AiMalgam.Systems.Decisions.AiMalgamBaseDecisionSystem.Tick |
( |
IAiMalgamDecider |
rootAIDecider | ) |
|
|
virtual |
If _makeDecision or alwaysMakeDecision == true, traverse through the rootAIDecider and emit the OnPrepareNextDecision, onDecisionMadeUnityEvent and OnDecisionMade events
- Parameters
-
rootAIDecider | The AiMalgamDeciderWrapper to traverse and form the AiMalgamDecision |
◆ _asyncSettingsStorageHandlers
Initial value:=
new List<AiMalgamAsyncActionQueueHandler>()