SF Tool Documentation
Search Results for

    Show / Hide Table of Contents

    Class AIActionBase

    A the base class for components that allow giving AI the ability to the actions. These can be controllerd by an AIBrain component or if you only need one action for a character you can just use a standalone AIAction.

    Inheritance
    System.Object
    AIActionBase
    AICrushAction
    AIPatrolAction
    Implements
    IAIAction
    Namespace: SF.AIModule
    Assembly: cs.temp.dll.dll
    Syntax
    [Serializable]
    public abstract class AIActionBase : MonoBehaviour, IAIAction

    Fields

    Controller2D

    Declaration
    protected Controller2D Controller2D
    Field Value
    Type Description
    Controller2D

    IsControlledByAIBrain

    Declaration
    [NonSerialized]
    public bool IsControlledByAIBrain
    Field Value
    Type Description
    System.Boolean

    IsEnabled

    Declaration
    public bool IsEnabled
    Field Value
    Type Description
    System.Boolean

    Methods

    DoAction()

    Declaration
    public abstract void DoAction()

    Init()

    Declaration
    public abstract void Init()

    Implements

    IAIAction
    In This Article
    Back to top Generated by DocFX