#include <InteractableActorWithPrompt.h>
|
| virtual void | BeginPlay () override |
| |
| virtual void | InteractionComplete () |
| |
| void | OnInteractionComplete (AActor *Caller) |
| |
| void | HideButtonPrompt () |
| |
| virtual void | Tick (float DeltaTime) override |
| |
| virtual void | SetMeshOutline (const bool bValue) |
| |
| void | LogDebugError (const FString &Message) const |
| |
| void | LogDebugError (const FString &Message, const int32 Value) const |
| |
| void | LogDebugError (const FString &Message, const float Value) const |
| |
| void | LogDebugWarning (const FString &Message) const |
| |
| void | LogDebugWarning (const FString &Message, const int32 Value) const |
| |
| void | LogDebugWarning (const FString &Message, const float Value) const |
| |
| void | LogDebugMessage (const FString &Message, const bool bWarning=false, const bool bError=false) const |
| |
| void | LogDebugMessage (const FString &Message, const int32 Value, const bool bWarning=false, const bool bError=false) const |
| |
| void | LogDebugMessage (const FString &Message, const float Value, const bool bWarning=false, const bool bError=false) const |
| |
| void | LogDebugMessage (const FString &Message, const bool bValue, const bool bWarning, const bool bError) const |
| |
| void | LogOnScreenMessage (const int32 Key, const FString &Message, FColor Color=FColor::Green) const |
| |
| void | SetCategoryName (const FLogCategoryBase &Category) |
| |
The AInteractableActorWithPrompt class represents an interactable actor with a prompt for interaction. It inherits from AInteractableActor class.
◆ AInteractableActorWithPrompt()
| AInteractableActorWithPrompt::AInteractableActorWithPrompt |
( |
| ) |
|
|
explicit |
9{
12
15 {
17 }
18
21
22
25
26}
class USceneComponent * SceneRootComponent
Definition InteractableActorWithPrompt.h:35
class USphereComponent * InteractionPromptCollision
Definition InteractableActorWithPrompt.h:32
class UInteractionPromptComponent * InteractionPromptComponent
Definition InteractableActorWithPrompt.h:29
◆ BeginPlay()
| void AInteractableActorWithPrompt::BeginPlay |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ HideButtonPrompt()
| void AInteractableActorWithPrompt::HideButtonPrompt |
( |
| ) |
|
|
protected |
161{
165}
FTimerHandle HidePromptTimerHandle
Definition InteractableActorWithPrompt.h:69
◆ InteractionComplete()
| void AInteractableActorWithPrompt::InteractionComplete |
( |
| ) |
|
|
protectedvirtual |
Reimplemented in AWeaponAttachmentPickup, and AWeaponPickup.
154{
155 UE_LOG(LogTemp,
Warning,TEXT(
"Interaction Complete"));
158}
void OnInteractionComplete(AActor *Caller)
AActor * CurrentInteractCaller
Definition InteractableActorWithPrompt.h:60
◆ OnInteractionComplete()
| void AInteractableActorWithPrompt::OnInteractionComplete |
( |
AActor * | Caller | ) |
|
|
protected |
◆ bHasProgress
| bool AInteractableActorWithPrompt::bHasProgress = true |
|
protected |
◆ ButtonPromptWidget
◆ CurrentInteractCaller
| AActor* AInteractableActorWithPrompt::CurrentInteractCaller = nullptr |
|
protected |
◆ HidePromptTime
| float AInteractableActorWithPrompt::HidePromptTime = 2.5f |
|
protected |
◆ HidePromptTimerHandle
| FTimerHandle AInteractableActorWithPrompt::HidePromptTimerHandle |
|
private |
◆ InteractionPromptCollision
| class USphereComponent* AInteractableActorWithPrompt::InteractionPromptCollision |
|
protected |
◆ InteractionPromptComponent
| class UInteractionPromptComponent* AInteractableActorWithPrompt::InteractionPromptComponent |
|
protected |
◆ PromptHeight
| float AInteractableActorWithPrompt::PromptHeight = 75.0f |
|
protected |
◆ SceneRootComponent
| class USceneComponent* AInteractableActorWithPrompt::SceneRootComponent |
|
protected |
The documentation for this class was generated from the following files: