Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/Abilities > API/Plugins/GameplayAbilities/Abilities/Tasks
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UGameplayTask
- UAbilityTask
- UAbilityTask_WaitInputRelease
References
| Module | GameplayAbilities |
| Header | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/Tasks/AbilityTask_WaitInputRelease.h |
| Include | #include "Abilities/Tasks/AbilityTask_WaitInputRelease.h" |
Syntax
UCLASS&40;&41;
class UAbilityTask_WaitInputRelease : public UAbilityTask
Remarks
Waits until the input is released from activating an ability. Clients will replicate a 'release input' event to the server, but not the exact time it was held locally. We expect server to execute this task in parallel and keep its own time.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bTestInitialState | ||
| FDelegateHandle | DelegateHandle | ||
| FInputReleaseDelegate | OnRelease | ||
| float | StartTime |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UAbilityTask_WaitInputRelease
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| UAbilityTask_WaitInputRelease * | WaitInputRelease
(
UGameplayAbility* OwningAbility, |
Wait until the user releases the input button for this ability's activation. |
Overridden from UGameplayTask
| Type | Name | Description | |
|---|---|---|---|
| void | Activate () |
Called to trigger the actual task once the delegates have been set up Note that the default implementation does nothing and you don't have to call it |