Search Results for

    Show / Hide Table of Contents

    Class CharacterWeaponAnimationData

    Animations and other important data for weapon abilities.

    Inheritance
    object
    Object
    ScriptableObject
    CharacterWeaponAnimationData
    Inherited Members
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, bool)
    Object.FindObjectsByType(Type, FindObjectsSortMode)
    Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectsByType<T>(FindObjectsSortMode)
    Object.FindObjectsOfType<T>(bool)
    Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
    Object.FindObjectOfType<T>()
    Object.FindObjectOfType<T>(bool)
    Object.FindFirstObjectByType<T>()
    Object.FindAnyObjectByType<T>()
    Object.FindFirstObjectByType<T>(FindObjectsInactive)
    Object.FindAnyObjectByType<T>(FindObjectsInactive)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindFirstObjectByType(Type)
    Object.FindAnyObjectByType(Type)
    Object.FindObjectOfType(Type, bool)
    Object.FindFirstObjectByType(Type, FindObjectsInactive)
    Object.FindAnyObjectByType(Type, FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: LobsterFramework.AbilitySystem.WeaponSystem
    Assembly: LobsterFramework.dll
    Syntax
    [CreateAssetMenu(menuName = "Ability/CharacterWeaponAnimationData")]
    public class CharacterWeaponAnimationData : ScriptableObject

    Methods

    | Improve this Doc View Source

    GetAbilityClip<T>(WeaponType, int)

    Find the animation clip of the weapon ability

    Declaration
    public AnimationClip GetAbilityClip<T>(WeaponType weaponType, int entry = 0) where T : Ability
    Parameters
    Type Name Description
    WeaponType weaponType

    The type of the weapon

    int entry

    The index to the array of animation clips

    Returns
    Type Description
    AnimationClip

    The animation clip of the specified weapon ability with regards to the specified weapon type and array index.

    Type Parameters
    Name Description
    T

    The type of the ability

    Exceptions
    Type Condition
    IndexOutOfRangeException

    Thrown when entry is not a valid index that can be converted to the enum registered via WeaponAnimationAttribute

    | Improve this Doc View Source

    GetMoveClip(WeaponType)

    Find the animation clip for movement of the weapon

    Declaration
    public AnimationClip GetMoveClip(WeaponType weaponType)
    Parameters
    Type Name Description
    WeaponType weaponType
    Returns
    Type Description
    AnimationClip
    | Improve this Doc View Source

    GetWeaponAbilitySetting<T, V>(WeaponType)

    Declaration
    public T GetWeaponAbilitySetting<T, V>(WeaponType weaponType) where T : ScriptableObject where V : Ability
    Parameters
    Type Name Description
    WeaponType weaponType
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    V
    • Improve this Doc
    • View Source
    In This Article
    Back to top LobsterFramework documentation