[Slate] Tutorial / Code on Slate For Use In-Game?

Dear Wonderful Friends at Epic,

Thanks again for UE4 !

I love the idea of the Slate UI system for use in-game!
https://rocket.unrealengine.com/docs/ue4/INT/Slate/Overview/index.html

Are there any existing C++ code samples that use Slate in-game rather than just in the editor?

And could I get a sample tutorial / code of a slate system for use in-game if one does not exist?

I am super excited about Slate!

Rama

You should take a look at the PlatformerGame sample, maybe the other three game samples also use Slate but i’m only sure about this one.

Yes, ShooterGame and PlatformerGame both use Slate for in-game menus so they should be good examples to draw from. As time allows, we will also add more Slate documentation to help with cases like this as well.

Could we get more ehm accessible examples ? The amount of code in Shooter example is just astonishing.

By simple example, I mean one or two things on screen with keyboard or data interaction, that have comments which explain what is going on

I think that as beta developers we should be authoring some of this and helping sort out some of the overly complicated features. If you would like, why don’t you and I put our heads together and sort something out that they can include in their projects listing in their beautiful plugin?

Ill probably mess with Slate in the next couple of days based on the examples provided. It will probably be useful to just make an example that isn’t reliant on other code. I’ll see if I can get something working!

My “Hello Slate!” tutorial can be found here.

doesnt work, i get weird linker errors with the object file from the hud:

Error 2 error LNK1120: 1 unresolved externals .

Error 1 error LNK2019: unresolved external symbol “public: void __cdecl SMyWidget::Construct(struct SMyWidget::FArguments const &)” (?Construct@SMyWidget@@QEAAXAEBUFArguments@1@@Z) referenced in function "public: void __cdecl RequiredArgs::T0RequiredArgs::CallConstruct<class SMyWidget,struct SMyWidget::FArguments>(class TSharedRef<class SMyWidget,0> const &,struct SMyWidget::FArguments const &)const " (??$CallConstruct@VSMyWidget@@UFArguments@1@@T0RequiredArgs@RequiredArgs@@QEBAXAEBV?$TSharedRef@VSMyWidget@@$0A@@@AEBUFArguments@SMyWidget@@@Z)