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 ) );

posted @ 2019-02-17 21:31  露夕逝  阅读(543)  评论(0编辑  收藏  举报