HKI Core
AIStateMachineSystem.cs
Go to the documentation of this file.
1 using UnityEngine;
2 using HKI.Core.GameSystems;
3 
4 namespace HKI.Core.AI.StateMachine
5 {
11  //[CreateAssetMenu(fileName = "AI State Machine System", menuName = "HKI/AI/State Machine/AI State Machine System", order = 0)]
13  {
14  // Public variables
16 
17  public override void Update()
18  {
19  if(AIStateControllerContainer != null)
20  {
21  int count = AIStateControllerContainer.Count;
22 
23  for(int i = 0; i < count; i++)
24  AIStateControllerContainer.Items[i].UpdateState();
25  }
26  }
27  }
28 }
override void Update()
If the GameSystem is added to the Update list of the GameSystemUpdateManager this function will be ca...
This ScriptableObject is the abstract base class for all GameSystems. It provides "interface" functio...
Definition: GameSystem.cs:10
This is obsolete code it&#39;ll be removed later. For now it&#39;s still included for exemplary purposes for ...
This is obsolete code it&#39;ll be removed later. For now it&#39;s still included for exemplary purposes for ...