This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Components/RTMEditorTickComponent.h" | |
namespace RTMEditorTickComponent_Statics | |
{ | |
#if RTMCOMMON_ENABLE_DEBUG_DISPLAY | |
static TAutoConsoleVariable<bool> CVarTickInEditor( | |
TEXT("rtm.Editor.AllowEditorTickComponent"), | |
true, | |
TEXT("Enables Editor Tick Components globally")); | |
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "UI/HUD/RTMHUDBase.h" | |
#include "Engine/LocalPlayer.h" | |
#include "GameFramework/PlayerController.h" | |
#include "Widgets/SViewport.h" | |
namespace RTMHUDBaseStatics | |
{ | |
SWidget* FindWidgetByTypeRecursive(SWidget* root, FName widgetType) | |
{ | |
SWidget* ret = nullptr; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright (c) Richard Meredith AB. All Rights Reserved | |
#include "UI/UMG/RTMCursorReceiverWidget.h" | |
#include "UI/Slate/SRTMCursorReceiver.h" | |
#define LOCTEXT_NAMESPACE "RTM" | |
TSharedRef<SWidget> URTMCursorReceiverWidget::RebuildWidget() | |
{ | |
Receiver = SNew(SRTMCursorReceiver) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "RTMBlueprintCompiler_MustImplementFunction.h" | |
#define LOCTEXT_NAMESPACE "RTMValidator_MustImplementFunction" | |
bool URTMBlueprintCompiler_MustImplementFunction::CanValidateBlueprint(const UBlueprint* blueprint) const | |
{ | |
switch(blueprint->BlueprintType) | |
{ | |
case BPTYPE_Normal: | |
case BPTYPE_Const: |