Search Results for

    Show / Hide Table of Contents

    Class OffhandAbility

    Inheritance
    object
    Object
    ScriptableObject
    Ability
    OffhandAbility
    Inherited Members
    Ability.DefaultAbilityInstance
    Ability.ExecutionPriority
    Ability.IsRunning(string)
    Ability.IsReady(string)
    Ability.HasInstance(string)
    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.ReferenceEquals(object, object)
    Namespace: LobsterFramework.AbilitySystem.WeaponSystem
    Assembly: LobsterFramework.dll
    Syntax
    [AddAbilityMenu("LobsterFramework")]
    [RequireComponentReference(typeof(WeaponManager))]
    public sealed class OffhandAbility : Ability

    Methods

    | Improve this Doc View Source

    Action()

    Called every frame while the ability instance remains in the execution queue.

    Declaration
    protected override bool Action()
    Returns
    Type Description
    bool

    false if the ability has finished and should not execute further, otherwise true

    Overrides
    Ability.Action()
    | Improve this Doc View Source

    ConditionSatisfied()

    Used for doing additional requirement check for running the ability.

    Declaration
    protected override bool ConditionSatisfied()
    Returns
    Type Description
    bool

    true if the condition for this ability has been satisfied, otherwise false

    Overrides
    Ability.ConditionSatisfied()
    | Improve this Doc View Source

    InitializeSharedReferences()

    Called to initialize the references shared by all ability instances

    Declaration
    protected override void InitializeSharedReferences()
    Overrides
    Ability.InitializeSharedReferences()
    | Improve this Doc View Source

    OnAbilityEnqueue()

    Called when the ability is added to the queue for execution

    Declaration
    protected override void OnAbilityEnqueue()
    Overrides
    Ability.OnAbilityEnqueue()
    | Improve this Doc View Source

    OnAbilityFinish()

    Called when the ability is finished or halted.

    Declaration
    protected override void OnAbilityFinish()
    Overrides
    Ability.OnAbilityFinish()
    • Improve this Doc
    • View Source
    In This Article
    Back to top LobsterFramework documentation