// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "Components/WidgetInteractionComponent.h" #include "VRWidgetInteractionComponent.generated.h" /** * */ UCLASS() class WIDGETINTERACTION_API UVRWidgetInteractionComponent : public UWidgetInteractionComponent { GENERATED_BODY() public: UVRWidgetInteractionComponent(); void Init(); void SetVisibility(bool visible); protected: void OnFire(bool val); DECLARE_DELEGATE_OneParam(FFireDelegate, bool); };