Select Git revision
Forked from
Sebastian Rieger / cloud-computing-msc-ai-examples
Source project has a limited visibility.
CAVELaunchButtonCommands.cpp 612 B
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#include "CAVELaunchButtonCommands.h"
#include "CAVELaunchButtonSettings.h"
#define LOCTEXT_NAMESPACE "FCAVELaunchButtonModule"
void FCAVELaunchButtonCommands::RegisterCommands()
{
if(GetDefault<UCAVELaunchButtonSettings>()->StartROLVInsteadOfCAVE)
{
UI_COMMAND(PluginAction, "PlayOnROLV", "Launch current project on ROLV", EUserInterfaceActionType::Button, FInputGesture());
}else
{
UI_COMMAND(PluginAction, "PlayInCAVE", "Launch current project in CAVE", EUserInterfaceActionType::Button, FInputGesture());
}
}
#undef LOCTEXT_NAMESPACE