UE对话框
// Put your "OnButtonClicked" stuff here FText DialogText = FText::Format( LOCTEXT("PluginButtonDialogText", "Add code to {0} in {1} to override this button's actions"), FText::FromString(TEXT("FTestButtonModule::PluginButtonClicked()")), FText::FromString(TEXT("TestButton.cpp")) ); FMessageDialog::Open(EAppMsgType::Ok, DialogText);
FNotificationInfo NormalMapNotification( FText::Format(LOCTEXT("ImportTexture_IsNormalMap", "Texture {TextureName} was imported as a normal map"), Args ) );