Search Results for

    Show / Hide Table of Contents

    Class EntityModel

    Inheritance
    object
    UnityEngine.Object
    UnityEngine.Component
    UnityEngine.Behaviour
    UnityEngine.MonoBehaviour
    EntityModel
    Namespace: Global
    Assembly: Dew.Core.dll
    Syntax
    public class EntityModel : MonoBehaviour

    Fields

    bodyRenderers

    Declaration
    [Title("General", null, TitleAlignments.Left, true, true)]
    public Renderer[] bodyRenderers
    Field Value
    Type Description
    UnityEngine.Renderer[]

    customMappings

    Declaration
    [Title("Custom Mappings", null, TitleAlignments.Left, true, true)]
    public List<EntityModelCustomMapping> customMappings
    Field Value
    Type Description
    System.Collections.Generic.List<T><EntityModelCustomMapping>

    death

    Declaration
    public AnimationClipWithSpeed death
    Field Value
    Type Description
    AnimationClipWithSpeed

    deathBehavior

    Declaration
    public EntityVisual.EntityDeathBehavior deathBehavior
    Field Value
    Type Description
    EntityVisual.EntityDeathBehavior

    dissolveDelay

    Declaration
    [ShowIf("@deathBehavior == EntityVisual.EntityDeathBehavior.Dissolve", true)]
    public float dissolveDelay
    Field Value
    Type Description
    float

    dissolveDuration

    Declaration
    [ShowIf("@deathBehavior == EntityVisual.EntityDeathBehavior.Dissolve", true)]
    public float dissolveDuration
    Field Value
    Type Description
    float

    fxDeath

    Declaration
    public GameObject fxDeath
    Field Value
    Type Description
    UnityEngine.GameObject

    fxLoop

    Declaration
    [Title("Effects", null, TitleAlignments.Left, true, true)]
    public GameObject fxLoop
    Field Value
    Type Description
    UnityEngine.GameObject

    fxTakeDamage

    Declaration
    public GameObject fxTakeDamage
    Field Value
    Type Description
    UnityEngine.GameObject

    hasGoldDissolve

    Declaration
    public bool hasGoldDissolve
    Field Value
    Type Description
    bool

    healthBarPosition

    Declaration
    public Transform healthBarPosition
    Field Value
    Type Description
    UnityEngine.Transform

    holsteredWeapon

    Declaration
    public Transform holsteredWeapon
    Field Value
    Type Description
    UnityEngine.Transform

    idle

    Declaration
    [Title("Animations", null, TitleAlignments.Left, true, true)]
    public AnimationClipWithSpeed idle
    Field Value
    Type Description
    AnimationClipWithSpeed

    lobby

    Declaration
    [Title("Hero", null, TitleAlignments.Left, true, true)]
    public AnimationClipWithSpeed lobby
    Field Value
    Type Description
    AnimationClipWithSpeed

    locomotion

    Declaration
    public EntityAnimation.LocomotionType locomotion
    Field Value
    Type Description
    EntityAnimation.LocomotionType

    runBackwardClip

    Declaration
    [ShowIf("support4Directions", true)]
    public AnimationClip runBackwardClip
    Field Value
    Type Description
    UnityEngine.AnimationClip

    runBackwardLeftClip

    Declaration
    [ShowIf("support8Directions", true)]
    public AnimationClip runBackwardLeftClip
    Field Value
    Type Description
    UnityEngine.AnimationClip

    runBackwardRightClip

    Declaration
    [ShowIf("support8Directions", true)]
    public AnimationClip runBackwardRightClip
    Field Value
    Type Description
    UnityEngine.AnimationClip

    runForwardClip

    Declaration
    public AnimationClip runForwardClip
    Field Value
    Type Description
    UnityEngine.AnimationClip

    runForwardLeftClip

    Declaration
    [ShowIf("support8Directions", true)]
    public AnimationClip runForwardLeftClip
    Field Value
    Type Description
    UnityEngine.AnimationClip

    runForwardRightClip

    Declaration
    [ShowIf("support8Directions", true)]
    public AnimationClip runForwardRightClip
    Field Value
    Type Description
    UnityEngine.AnimationClip

    runLeftClip

    Declaration
    [ShowIf("support4Directions", true)]
    public AnimationClip runLeftClip
    Field Value
    Type Description
    UnityEngine.AnimationClip

    runRightClip

    Declaration
    [ShowIf("support4Directions", true)]
    public AnimationClip runRightClip
    Field Value
    Type Description
    UnityEngine.AnimationClip

    stagger

    Declaration
    public AnimationClipWithSpeed stagger
    Field Value
    Type Description
    AnimationClipWithSpeed

    walkAnimationSpeed

    Declaration
    public float walkAnimationSpeed
    Field Value
    Type Description
    float

    weapon

    Declaration
    public Transform weapon
    Field Value
    Type Description
    UnityEngine.Transform

    Properties

    isInitialized

    Declaration
    public bool isInitialized { get; }
    Property Value
    Type Description
    bool

    support4Directions

    Declaration
    public bool support4Directions { get; }
    Property Value
    Type Description
    bool

    support8Directions

    Declaration
    public bool support8Directions { get; }
    Property Value
    Type Description
    bool

    Methods

    ContainsCustomMappingKey(string)

    Declaration
    public bool ContainsCustomMappingKey(string key)
    Parameters
    Type Name Description
    string key
    Returns
    Type Description
    bool

    GetCustomMapping<T>(string)

    Declaration
    public T GetCustomMapping<T>(string key) where T : class
    Parameters
    Type Name Description
    string key
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    GetCustomMappingArray<T>(string)

    Declaration
    public T[] GetCustomMappingArray<T>(string key) where T : class
    Parameters
    Type Name Description
    string key
    Returns
    Type Description
    T[]
    Type Parameters
    Name Description
    T

    TryGetCustomMapping<T>(string, out T)

    Declaration
    public bool TryGetCustomMapping<T>(string key, out T target) where T : class
    Parameters
    Type Name Description
    string key
    T target
    Returns
    Type Description
    bool
    Type Parameters
    Name Description
    T

    Extension Methods

    DewGUI.SetExpandHeight<T>(T, bool)
    DewGUI.SetExpandHeight<T>(T, float)
    DewGUI.SetExpandWidth<T>(T, bool)
    DewGUI.SetExpandWidth<T>(T, float)
    DewGUI.SetHeight<T>(T, float)
    DewGUI.SetText<T>(T, string)
    DewGUI.SetTextLocalized<T>(T, string)
    DewGUI.SetWidth<T>(T, float)
    In This Article
    Back to top Shape of Dreams API Documentation