#include <InteractableSwitch.h>
|
| virtual void | BeginPlay () override |
| |
| 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) |
| |
◆ AInteractableSwitch()
| AInteractableSwitch::AInteractableSwitch |
( |
| ) |
|
|
explicit |
11{
12 PrimaryActorTick.bCanEverTick = false;
14}
class UInteractableActorComponent * InteractableActorComponent
Definition InteractableActor.h:63
Definition BaseData.h:420
◆ BeginPlay()
| void AInteractableSwitch::BeginPlay |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ ReceiveOnInteract()
| void AInteractableSwitch::ReceiveOnInteract |
( |
AActor * | Caller, |
|
|
const EInteractionType | InteractionType ) |
|
overridevirtual |
Reimplemented from AInteractableActor.
Reimplemented in ATerminal.
65{
66 Super::ReceiveOnInteract(Caller, InteractionType);
69}
virtual void ReceiveToggleSwitch(AActor *Caller, const bool bOn) override
Definition InteractableSwitch.cpp:16
bool bSwitchOn
Definition InteractableSwitch.h:23
◆ ReceiveToggleSwitch()
| void AInteractableSwitch::ReceiveToggleSwitch |
( |
AActor * | Caller, |
|
|
const bool | bOn ) |
|
overridevirtual |
Reimplemented from AInteractableActor.
17{
18 Super::ReceiveToggleSwitch(Caller, bOn);
20 {
22 {
24 if(InteractableActor != nullptr)
25 {
26 UE_LOG(LogTemp,
Warning,TEXT(
"ToggleSwitch - Interactable Switch"));
28 }
29 }
30 }
31}
TArray< AActor * > ActorsControlledBySwitch
Definition InteractableSwitch.h:30
Definition InteractionInterface.h:18
virtual void ToggleSwitch(AActor *Caller, const bool bOn)=0
static IInteractionInterface * GetInteractionFromComponent(const AActor *Actor)
Definition InteractionBPLib.cpp:10
◆ ActorsControlledBySwitch
| TArray<AActor*> AInteractableSwitch::ActorsControlledBySwitch |
|
protected |
◆ bSwitchOn
| bool AInteractableSwitch::bSwitchOn = false |
The documentation for this class was generated from the following files:
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/Interaction/Source/Interaction/Public/Actors/InteractableSwitch.h
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/Interaction/Source/Interaction/Private/Actors/InteractableSwitch.cpp