Behaviors API
Change Behavior
EmeraldAPI.Behaviors.ChangeBehavior(EmeraldSystem EmeraldComponent, EmeraldBehaviors.BehaviorTypes BehaviorType)//Example - Changes the AI's behavior to Aggressive
EmeraldSystem EmeraldComponent = GetComponent<EmeraldSystem>(); //It is recomended that you cache this somewhere
EmeraldAPI.Behaviors.ChangeBehavior(EmeraldComponent, EmeraldBehaviors.BehaviorTypes.Aggressive);Last updated