Skip to content

Commit

Permalink
Changed back microsoft#2877 to temporarily enable weather options.
Browse files Browse the repository at this point in the history
  • Loading branch information
GimpelZhang committed Aug 21, 2020
1 parent 87ce041 commit aee5c8b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Binary file modified Unreal/Plugins/AirSim/Content/HUDAssets/OptionsMenu.uasset
Binary file not shown.
Binary file not shown.
8 changes: 6 additions & 2 deletions Unreal/Plugins/AirSim/Source/Weather/WeatherLib.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,15 @@ class AIRSIM_API UWeatherLib : public UBlueprintFunctionLibrary
{
return FSoftClassPath(TEXT("AActor'/AirSim/Weather/WeatherFX/WeatherActor.WeatherActor_C'"));
}

static const FSoftClassPath getWeatherMenuWidgetClass()
{
return FSoftClassPath(TEXT("UUserWidget'/AirSim/HUDAssets/OptionsMenu.OptionsMenu_C'"));
return FSoftClassPath(TEXT("UUserWidget'/AirSim/Weather/UI/OptionsMenu.OptionsMenu_C'"));
}
/*static const FSoftClassPath getMenuClass()
{
return TEXT("/AirSim/Weather/UI/OptionsMenu.OptionsMenu_C");
}*/
// menu class name for finding and closing it
static const FString getWeatherMenuClassName()
{
Expand Down

0 comments on commit aee5c8b

Please sign in to comment.