-
Jonathan Wendt authoredJonathan Wendt authored
WidgetInteraction.h 666 B
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "VirtualRealityPawn.h"
#include "RwthComponent.h"
#include "Modules/ModuleManager.h"
class FWidgetInteractionModule : public IModuleInterface
{
public:
/** IModuleInterface implementation */
virtual void StartupModule() override;
virtual void ShutdownModule() override;
UFUNCTION()
void OnWorldTickStart(ELevelTick, float);
private:
void CreateWidgetInteraction(USceneComponent * parent, AVirtualRealityPawn* outer);
private:
TBaseDelegate<void, ELevelTick, float> on_world_tick_start_delegate_;
URwthComponent * widget_interaction_cmp_;
};