19 virtual void BeginPlay()
override;
20 virtual void GetLifetimeReplicatedProps(TArray<class FLifetimeProperty>& OutLifetimeProps)
const override;
23 virtual void Tick(
float DeltaTime)
override;
33 UPROPERTY(VisibleAnywhere, BlueprintReadOnly)
34 TObjectPtr<class USceneComponent> RootSceneComp;
36 UPROPERTY(VisibleAnywhere, BlueprintReadOnly)
37 TObjectPtr<class USkeletalMeshComponent> ButtonMeshComp;
39 UPROPERTY(VisibleAnywhere, BlueprintReadOnly)
40 TObjectPtr<class UInteractableComponent> InteractableComp;
42 UPROPERTY(EditDefaultsOnly, BlueprintReadWrite)
43 TObjectPtr<class UWidgetComponent> WidgetComp;
45 UPROPERTY(VisibleAnywhere, BlueprintReadOnly)
46 TObjectPtr<class UBoxComponent> BoxComp;
49 UPROPERTY(Replicated, VisibleAnywhere, BlueprintReadOnly)
50 TArray<class AActor*> ConveyorBeltActors;
54 void OnInteractionTriggered(AActor* Interactor);
57 void OnOutlineStateChanged(
bool bShouldShowOutline);
60 bool bIsButtonOn = false;