Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ChildSlot
- .VAlign(VAlign_Fill)
- .HAlign(HAlign_Fill)
- [
- SNew(SOverlay)
- + SOverlay::Slot()
- .VAlign(VAlign_Top)
- .HAlign(HAlign_Left)
- .Padding(FMargin(ViewportSize.X * 0.1f, ViewportSize.Y * 0.6f, 0, 0))
- [
- SNew(STextBlock)
- .ShadowColorAndOpacity(FLinearColor::Black)
- .ColorAndOpacity(FLinearColor::White)
- .ShadowOffset(FIntPoint(-1, 1))
- .Font(FSlateFontInfo("Veranda", 16)) //Probably doesn't work
- .Text(FText::FromString("Campaign"))
- ]
- + SOverlay::Slot()
- .VAlign(VAlign_Top)
- .HAlign(HAlign_Left)
- .Padding(FMargin(ViewportSize.X * 0.1f, ViewportSize.Y * 0.65f, 0, 0))
- [
- SNew(STextBlock)
- .ShadowColorAndOpacity(FLinearColor::Black)
- .ColorAndOpacity(FLinearColor::White)
- .ShadowOffset(FIntPoint(-1, 1))
- .Font(FSlateFontInfo("Veranda", 16)) //Probably doesn't work
- .Text(FText::FromString("Wave Defense"))
- ]
- + SOverlay::Slot()
- .VAlign(VAlign_Top)
- .HAlign(HAlign_Left)
- .Padding(FMargin(ViewportSize.X * 0.1f, ViewportSize.Y * 0.7f, 0, 0))
- [
- SNew(STextBlock)
- .ShadowColorAndOpacity(FLinearColor::Black)
- .ColorAndOpacity(FLinearColor::White)
- .ShadowOffset(FIntPoint(-1, 1))
- .Font(FSlateFontInfo("Veranda", 16)) //Probably doesn't work
- .Text(FText::FromString("Workshop"))
- ]
- + SOverlay::Slot()
- .VAlign(VAlign_Top)
- .HAlign(HAlign_Left)
- .Padding(FMargin(ViewportSize.X * 0.1f, ViewportSize.Y * 0.75f, 0, 0))
- [
- SNew(STextBlock)
- .ShadowColorAndOpacity(FLinearColor::Black)
- .ColorAndOpacity(FLinearColor::White)
- .ShadowOffset(FIntPoint(-1, 1))
- .Font(FSlateFontInfo("Veranda", 16)) //Probably doesn't work
- .Text(FText::FromString("Unlocks"))
- ]
- + SOverlay::Slot()
- .VAlign(VAlign_Top)
- .HAlign(HAlign_Left)
- .Padding(FMargin(ViewportSize.X * 0.1f, ViewportSize.Y * 0.8f, 0, 0))
- [
- SNew(STextBlock)
- .ShadowColorAndOpacity(FLinearColor::Black)
- .ColorAndOpacity(FLinearColor::White)
- .ShadowOffset(FIntPoint(-1, 1))
- .Font(FSlateFontInfo("Veranda", 16)) //Probably doesn't work
- .Text(FText::FromString("Options"))
- ]
- + SOverlay::Slot()
- .VAlign(VAlign_Top)
- .HAlign(HAlign_Left)
- .Padding(FMargin(ViewportSize.X * 0.1f, ViewportSize.Y * 0.85f, 0, 0))
- [
- SNew(STextBlock)
- .ShadowColorAndOpacity(FLinearColor::Black)
- .ColorAndOpacity(FLinearColor::White)
- .ShadowOffset(FIntPoint(-1, 1))
- .Font(FSlateFontInfo("Veranda", 16)) //Probably doesn't work
- .Text(FText::FromString("Credits"))
- ]
- + SOverlay::Slot()
- .VAlign(VAlign_Top)
- .HAlign(HAlign_Left)
- .Padding(FMargin(ViewportSize.X * 0.1f, ViewportSize.Y * 0.9f, 0, 0))
- [
- SNew(STextBlock)
- .ShadowColorAndOpacity(FLinearColor::Black)
- .ColorAndOpacity(FLinearColor::White)
- .ShadowOffset(FIntPoint(-1, 1))
- .Font(FSlateFontInfo("Veranda", 16)) //Probably doesn't work
- .Text(FText::FromString("Exit"))
- ]
- ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement