Search Results for

    Show / Hide Table of Contents

    Class TurnBaseCharacter

    A character in the turn base example. This is used to tag a character's element type.

    Inheritance
    Object
    TurnBaseCharacter
    Namespace: TinnyStudios.AIUtility.Impl.Examples.TurnBasedSpell
    Assembly: UtilityAIFramework.dll
    Syntax
    public class TurnBaseCharacter : MonoBehaviour

    Fields

    ElementType

    Declaration
    public EElementType ElementType
    Field Value
    Type Description
    EElementType

    Hp

    Declaration
    public float Hp
    Field Value
    Type Description
    Single

    HpFillImage

    Declaration
    public Image HpFillImage
    Field Value
    Type Description
    Image

    MaxHp

    Declaration
    public float MaxHp
    Field Value
    Type Description
    Single

    Properties

    IsDead

    Declaration
    public bool IsDead { get; }
    Property Value
    Type Description
    Boolean

    Methods

    TakeDamage(Single)

    Declaration
    public void TakeDamage(float damage)
    Parameters
    Type Name Description
    Single damage
    In This Article
    Back to top Generated by DocFX