• Dev Blog
  • Say Hello!
  • AITemplate

    Description

    A container of AINodes that dictate how the agent should observer, decide, and enact.

    public class InitialPrefabs.DaniAI.AITemplate
        : ScriptableObject
    
    

    Properties

    Type Name Summary
    Action[] Actions A collection of actions required to run the template.
    String Comments Any notes and decriptions of the AITemplate. Useful for reminders on what the template does.
    Condition[] Conditions A collection of conditions required to run the template.
    Connection[] Connections A collection of connections required to run the template.
    Decision[] Decisions A collection of decisions required to run the template.
    String Id The ID of the template as a 32-character guid.
    Observer[] Observers A collection of observer nodes required to run the template.
    Variable[] Variables A collection of variables required to run the template.

    Methods

    Type Name Summary
    T GetAction<T>(String name) Finds an action of type T with a matching name.
    T GetDecision<T>(String name) Finds a decision of type T with a matching name.
    T GetObserver<T>(String name) Finds an observer of type T with a matching name.
    T GetVariable<T>(String name) Finds a variable of type T with a matching name.