• Dev Blog
  • Say Hello!
  • ExecutionType

    Description

    Decribes when the brain should run its AI steps.

    public enum InitialPrefabs.DaniAI.ExecutionType
        : Enum, IComparable, IFormattable, IConvertible
    
    

    Enum

    Value Name Summary
    0 OnUpdate The AIBrain will run during the Update() step.
    1 OnFixedUpdate The AIBrain will run during the FixedUpdate() step.
    2 ByScript The AIBrain will not run automatically. Use this if you want to control when the brain should run its steps e.g. for a turn-based AI.