Class OffhandAbility
Inherited Members
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DestroyObject(Object)
Namespace: LobsterFramework.AbilitySystem.WeaponSystem
Assembly: LobsterFramework.dll
Syntax
[AddAbilityMenu("LobsterFramework")]
[RequireComponentReference(typeof(WeaponManager))]
public sealed class OffhandAbility : Ability
Methods
| Improve this Doc View SourceAction()
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
| Improve this Doc View SourceConditionSatisfied()
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
| Improve this Doc View SourceInitializeSharedReferences()
Called to initialize the references shared by all ability instances
Declaration
protected override void InitializeSharedReferences()
Overrides
| Improve this Doc View SourceOnAbilityEnqueue()
Called when the ability is added to the queue for execution
Declaration
protected override void OnAbilityEnqueue()
Overrides
| Improve this Doc View SourceOnAbilityFinish()
Called when the ability is finished or halted.
Declaration
protected override void OnAbilityFinish()